* [PATCH] staging: rtlwifi: Remove unused variable
@ 2017-10-24 8:26 Kees Cook
0 siblings, 0 replies; only message in thread
From: Kees Cook @ 2017-10-24 8:26 UTC (permalink / raw)
To: Greg Kroah-Hartman; +Cc: linux-kernel
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>
---
drivers/staging/rtlwifi/base.c | 1 -
1 file changed, 1 deletion(-)
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 @@ void rtl_watchdog_wq_callback(void *data)
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);
--
2.7.4
--
Kees Cook
Pixel Security
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-24 8:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-24 8:26 [PATCH] staging: rtlwifi: Remove unused variable Kees Cook
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.