Re: [PATCH net-next] ieee802154: remove set but not used variable 'status'

From: Stefan Schmidt
Date: Fri Oct 25 2019 - 00:38:49 EST


On 25.10.19 00:19, David Miller wrote:
From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Wed, 23 Oct 2019 15:06:18 +0800

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

drivers/net/ieee802154/cc2520.c:221:5: warning:
variable status set but not used [-Wunused-but-set-variable]

It is never used, so can be removed.

Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

I am assuming the WPAN folks will pick this up, thanks.

Correct. I was waiting for an ACK from the driver maintainer. Its simple enough to not need any further waiting though, applied now.

Stefan Schmidt