summaryrefslogtreecommitdiff
path: root/drivers/staging/rtlwifi/base.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2017-10-24 01:26:29 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-03 12:48:56 +0100
commit2f9115820982df7a529f3375c94db3bdc1b4fc41 (patch)
tree0b7d2e09c93e4db073959b07cbeb2d28d5808944 /drivers/staging/rtlwifi/base.c
parent8a81f7491655f1fd9398c63048700351cb713471 (diff)
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 <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtlwifi/base.c')
-rw-r--r--drivers/staging/rtlwifi/base.c1
1 files changed, 0 insertions, 1 deletions
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);