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>
This commit is contained in:
parent
8a8e31cc22
commit
0b948341f3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue