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:
parent
8a81f74916
commit
2f91158209
|
@ -2164,7 +2164,6 @@ label_lps_done:
|
||||||
void rtl_watch_dog_timer_callback(struct timer_list *t)
|
void rtl_watch_dog_timer_callback(struct timer_list *t)
|
||||||
{
|
{
|
||||||
struct rtl_priv *rtlpriv = from_timer(rtlpriv, t, works.watchdog_timer);
|
struct rtl_priv *rtlpriv = from_timer(rtlpriv, t, works.watchdog_timer);
|
||||||
struct ieee80211_hw *hw = rtlpriv->hw;
|
|
||||||
|
|
||||||
queue_delayed_work(rtlpriv->works.rtl_wq,
|
queue_delayed_work(rtlpriv->works.rtl_wq,
|
||||||
&rtlpriv->works.watchdog_wq, 0);
|
&rtlpriv->works.watchdog_wq, 0);
|
||||||
|
|
Loading…
Reference in New Issue