1
0
Fork 0

rtlwifi: rtl8192cu: Fix W=1 build warning

When this driver is built with "make W=1", the following warning is output:

drivers/net/wireless/rtlwifi/rtl8192cu/sw.c:56:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
hifive-unleashed-5.1
Larry Finger 2013-02-01 10:40:25 -06:00 committed by John W. Linville
parent 8a8e31cc22
commit 0b948341f3
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ static int rtl92cu_init_sw_vars(struct ieee80211_hw *hw)
GFP_KERNEL, hw, rtl_fw_cb);
return 0;
return err;
}
static void rtl92cu_deinit_sw_vars(struct ieee80211_hw *hw)