bpf: devmap: remove redundant assignment of dev = dev
authorColin Ian King <colin.king@canonical.com>
Wed, 30 May 2018 15:09:16 +0000 (16:09 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 30 May 2018 21:02:48 +0000 (14:02 -0700)
commit71b2c87df3ac37f5f83e166db136b0c1d065a781
tree74d080a57796b6be37997823c3cc7f2c1f55aedf
parent13a370b9d275959ac75e92dc14e43eeae75804f8
bpf: devmap: remove redundant assignment of dev = dev

The assignment dev = dev is redundant and should be removed.

Detected by CoverityScan, CID#1469486 ("Evaluation order violation")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/devmap.c