net: ibm: remove set but not used variables 'err'
authorChen Zhou <chenzhou10@huawei.com>
Wed, 11 Mar 2020 06:54:11 +0000 (14:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Mar 2020 06:32:55 +0000 (23:32 -0700)
commit9b96a3e6dd4bf3b92df15798f088ee6b35928712
tree21cb2906d5f7a570b746acd7ae5214a5a44aa036
parent64fbca011976ce1564f191f4154e4a6ade25779a
net: ibm: remove set but not used variables 'err'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/ethernet/ibm/emac/core.c: In function __emac_mdio_write:
drivers/net/ethernet/ibm/emac/core.c:875:9: warning:
variable err set but not used [-Wunused-but-set-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/emac/core.c