ibmvnic: remove set but not used variable 'netdev'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 3 Apr 2019 07:54:09 +0000 (15:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Apr 2019 00:36:24 +0000 (17:36 -0700)
commit53a6b206e36f160dbaa5727e68f8418de0b10bbf
tree58b947e08cbd101178949b32fb5933f3e72a9696
parentfe1ec0bdfba4e7bfe6db81a1e4ac74beb36691e8
ibmvnic: remove set but not used variable 'netdev'

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

drivers/net/ethernet/ibm/ibmvnic.c: In function '__ibmvnic_reset':
drivers/net/ethernet/ibm/ibmvnic.c:1971:21: warning: variable 'netdev' set but not used [-Wunused-but-set-variable]

It's never used since introduction in
commit ed651a10875f ("ibmvnic: Updated reset handling")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c