]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7b9c5abf4a2b93345101a5909049f13ac70c402f
tree12ce56a0c2f2cc850fb677aa66f656f5650cab30
parent0237306088c55cc0ca59ef955dec3f69d1c1481e
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