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

From: David Miller
Date: Tue Jan 29 2019 - 02:04:35 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Tue, 29 Jan 2019 14:40:28 +0800

> gcc warning this:
> net/nfc/nci/hci.c:373:5:
> warning: variable 'status' set but not used [-Wunused-but-set-variable]
>
> It not used since commit d8cd37ed2fc8 ("NFC: nci: Fix improper
> management of HCI return code"), so can be removed.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

I'll let the wireless/nfc folks pick this up.