aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192cu
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-02-01 11:40:25 -0500
committerJohn W. Linville <linville@tuxdriver.com>2013-02-01 14:27:26 -0500
commit0b948341f398646b0d59d746800fbbf3656886e7 (patch)
tree5b2ee71194f90245f67b730a14bd32391db65d70 /drivers/net/wireless/rtlwifi/rtl8192cu
parent8a8e31cc22739d1a5780591c008940292edcde87 (diff)
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>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192cu')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192cu/sw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
index b7e6607e6b6d..d9e659f92767 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
@@ -76,7 +76,7 @@ static int rtl92cu_init_sw_vars(struct ieee80211_hw *hw)
76 GFP_KERNEL, hw, rtl_fw_cb); 76 GFP_KERNEL, hw, rtl_fw_cb);
77 77
78 78
79 return 0; 79 return err;
80} 80}
81 81
82static void rtl92cu_deinit_sw_vars(struct ieee80211_hw *hw) 82static void rtl92cu_deinit_sw_vars(struct ieee80211_hw *hw)