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)
commitbacc8daf97d4199316328a5d18eeafbe447143c5
treeb118e57f07eaee3940535ed246c7af95f8fd0c72
parentd00e60ee54b12de945b8493cf18c1ada9e422514
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