From: Kees Cook Date: Tue, 24 Oct 2017 08:26:29 +0000 (-0700) Subject: staging: rtlwifi: Remove unused variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2f9115820982df7a529f3375c94db3bdc1b4fc41;p=openwrt%2Fstaging%2Fblogic.git 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()") Signed-off-by: Kees Cook Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtlwifi/base.c b/drivers/staging/rtlwifi/base.c index 2c693c7aa9d5..c947def37d31 100644 --- a/drivers/staging/rtlwifi/base.c +++ b/drivers/staging/rtlwifi/base.c @@ -2164,7 +2164,6 @@ label_lps_done: 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);