staging: rtlwifi: Remove unused variable

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

Fixes: f8af6a3233 ("staging: rtlwifi: Convert timers to use timer_setup()")
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Kees Cook 2017-10-24 01:26:29 -07:00 committed by Greg Kroah-Hartman
parent 8a81f74916
commit 2f91158209
1 changed files with 0 additions and 1 deletions

View File

@ -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);