Commit 2f911582 authored by Kees Cook's avatar Kees Cook Committed by Greg Kroah-Hartman

staging: rtlwifi: Remove unused variable

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

Fixes: f8af6a32 ("staging: rtlwifi: Convert timers to use timer_setup()")
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a81f749
...@@ -2164,7 +2164,6 @@ void rtl_watchdog_wq_callback(void *data) ...@@ -2164,7 +2164,6 @@ void rtl_watchdog_wq_callback(void *data)
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment