Re: [PATCH] wil6210: remove set but not used variable 'wdev'

From: merez
Date: Sat Dec 08 2018 - 13:08:52 EST

On 2018-12-05 09:59, YueHaibing wrote:
Fixes gcc '-Wunused-but-set-variable' warning:

drivers/net/wireless/ath/wil6210/main.c: In function '_wil6210_disconnect':
drivers/net/wireless/ath/wil6210/main.c:407:23: warning:
variable 'wdev' set but not used [-Wunused-but-set-variable]

It never used since commit ("e1b43407c034 wil6210: refactor disconnect flow")

Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
drivers/net/wireless/ath/wil6210/main.c | 2 --
1 file changed, 2 deletions(-)

Reviewed-by: Maya Erez <merez@xxxxxxxxxxxxxx>
Maya Erez
Qualcomm Israel, Inc. on behalf of Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project