tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git 
staging-testing
head:   7706abf5a0eb4c082897fd2a17a0ac0898e39666
commit: f8af6a323368dd28fcea9742d582593c9adb2261 [240/312] staging: rtlwifi: 
Convert timers to use timer_setup()
config: x86_64-randconfig-v0-10240403 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        git checkout f8af6a323368dd28fcea9742d582593c9adb2261
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/staging/rtlwifi/base.c: In function 'rtl_watch_dog_timer_callback':
>> drivers/staging/rtlwifi/base.c:2167: warning: unused variable 'hw'

vim +/hw +2167 drivers/staging/rtlwifi/base.c

  2163  
  2164  void rtl_watch_dog_timer_callback(struct timer_list *t)
  2165  {
  2166          struct rtl_priv *rtlpriv = from_timer(rtlpriv, t, 
works.watchdog_timer);
> 2167          struct ieee80211_hw *hw = rtlpriv->hw;
  2168  
  2169          queue_delayed_work(rtlpriv->works.rtl_wq,
  2170                             &rtlpriv->works.watchdog_wq, 0);
  2171  
  2172          mod_timer(&rtlpriv->works.watchdog_timer,
  2173                    jiffies + MSECS(RTL_WATCH_DOG_TIME));
  2174  }
  2175  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to