]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: sun: remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Thu, 4 Jul 2019 12:36:51 +0000 (13:36 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jul 2019 19:12:13 +0000 (12:12 -0700)
commitcb442986341449807f6387c4c604642c88463e76
treea73ddcfa6eaef20c4e2712e8476d05997a0df064
parentcef0b80ffef8dbe5a6faf83b04f8053ce8e8c9e3
net: ethernet: sun: remove redundant assignment to variable err

The variable err is being assigned with a value that is never
read and it is being updated in the next statement with a new value.
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/ethernet/sun/niu.c