[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190404.173711.500680276072818802.davem@davemloft.net>
Date: Thu, 04 Apr 2019 17:37:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: benh@...nel.crashing.org, paulus@...ba.org, mpe@...erman.id.au,
tlfalcon@...ux.ibm.com, jallen@...ux.ibm.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH -next] ibmvnic: remove set but not used variable
'netdev'
From: Yue Haibing <yuehaibing@...wei.com>
Date: Wed, 3 Apr 2019 15:54:09 +0800
> From: YueHaibing <yuehaibing@...wei.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@...wei.com>
Applied.
Powered by blists - more mailing lists