xen-netback: remove redundant assignment to err
authorColin Ian King <colin.king@canonical.com>
Thu, 30 May 2019 19:04:38 +0000 (20:04 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 May 2019 21:36:48 +0000 (14:36 -0700)
commit587a7126779b32a6c8983ae567d987c1a0c7a5dc
tree12ce56a0c2f2cc850fb677aa66f656f5650cab30
parent6f43e5252833f346be429e9cf6946fb8a1977d73
xen-netback: remove redundant assignment to err

The variable err is assigned with the value -ENOMEM that is never
read and it is re-assigned a new value later on.  The assignment is
redundant and can be removed.

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