Messages in this thread | | | Date | Thu, 04 Apr 2019 17:37:11 -0700 (PDT) | Subject | Re: [PATCH -next] ibmvnic: remove set but not used variable 'netdev' | From | David Miller <> |
| |
From: Yue Haibing <yuehaibing@huawei.com> Date: Wed, 3 Apr 2019 15:54:09 +0800
> From: YueHaibing <yuehaibing@huawei.com> > > 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>
Applied.
| |