]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
rtlwifi: rtl8192cu: Fix smatch warning in rtl8192cu/trx.c
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 25 Sep 2013 17:57:44 +0000 (12:57 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Oct 2013 20:24:27 +0000 (16:24 -0400)
commit61800b276142760e59d719de8a63841cd717af9b
treef4cbb033f66c185303c09bf46cf8cd40dc0d2c37
parent857c00773092ce9093e530581ff4bcb521477432
rtlwifi: rtl8192cu: Fix smatch warning in rtl8192cu/trx.c

Smatch lists the following:
  CHECK   drivers/net/wireless/rtlwifi/rtl8192cu/trx.c
drivers/net/wireless/rtlwifi/rtl8192cu/trx.c:367 _rtl_rx_process() warn: assigning (-98) to unsigned variable 'stats.noise'

This variable is unused, thus the initializer is removed, as well as a
comment referring to that variable.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/rtl8192cu/trx.c