Skip to contentSkip to conversation

staging: rtlwifi: Remove unused variable

PATCH New Kees Cook 1 participant 1 message Oct 24, 2017 Staging

lore
Share & tools
lore

Kees Cook

author
#0 lore raw

PATCH 1/1 staging: rtlwifi: Remove unused variable

This removes an unused variable to silence the associated build warning.

Fixes f8af6a323368 ("staging: rtlwifi: Convert timers to use timer_setup()")
---
 drivers/staging/rtlwifi/base.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/rtlwifi/base.c +0 -1
index 2c693c7aa9d5..c947def37d31 100644
@@ -2164,7 +2164,6 @@ void rtl_watchdog_wq_callback(void *data)
 void rtl_watch_dog_timer_callback(struct timer_list *t)
 {
 	struct rtl_priv *rtlpriv = from_timer(rtlpriv, t, works.watchdog_timer);
-	struct ieee80211_hw *hw = rtlpriv->hw;
 
 	queue_delayed_work(rtlpriv->works.rtl_wq,
 			   &rtlpriv->works.watchdog_wq, 0);
Signature · 6 lines
2.7.4


-- 
Kees Cook
Pixel Security