]> git.baikalelectronics.ru Git - kernel.git/commit
xen-netback: Remove redundant initialization of variable err
authorColin Ian King <colin.king@canonical.com>
Wed, 13 Oct 2021 16:51:42 +0000 (17:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Oct 2021 10:02:36 +0000 (11:02 +0100)
commitd334d4d584e785f99979269507c8873a5724477d
treeb118e57f07eaee3940535ed246c7af95f8fd0c72
parent804efe94201e2adc7bd424018ac419f6809bbfa3
xen-netback: Remove redundant initialization of variable err

The variable err is being initialized with a value that is never read, it
is being updated immediately afterwards. The assignment is redundant and
can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/netback.c