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

2019-01-28 Thread David Miller
From: YueHaibing 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

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

2019-01-28 Thread YueHaibing
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 --- net/nfc/nci/hci.c | 10 ++