linux/drivers/net/wireless/rtlwifi
Larry Finger 354d0f3c40 rtlwifi: Fix smatch warnings in usb.c
Smatch displays the following:
  CHECK   drivers/net/wireless/rtlwifi/usb.c
drivers/net/wireless/rtlwifi/usb.c:458 _rtl_usb_rx_process_agg() warn: assigning (-98) to unsigned variable 'stats.noise'
drivers/net/wireless/rtlwifi/usb.c:503 _rtl_usb_rx_process_noagg() warn: assigning (-98) to unsigned variable 'stats.noise'
drivers/net/wireless/rtlwifi/usb.c:596 _rtl_rx_get_padding() info: ignoring unreachable code.
drivers/net/wireless/rtlwifi/usb.c:596 _rtl_rx_get_padding() info: ignoring unreachable code.

The variable 'stats.noise' is not used, thus the initializers are removed.
The unreachable code info is fixed by including the appropriate section inside
#ifdef .. #endif constructions.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-10-03 16:24:29 -04:00
..
rtl8188ee Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-09-06 09:36:28 -07:00
rtl8192c rtlwifi: rtl8192_common: Fix smatch errors and warnings in rtl8192c/dm_common.c 2013-10-03 16:24:28 -04:00
rtl8192ce rtlwifi: remove duplicate declarations and macros in headers 2013-09-26 15:15:14 -04:00
rtl8192cu rtlwifi: rtl8192cu: Fix smatch warning in rtl8192cu/trx.c 2013-10-03 16:24:27 -04:00
rtl8192de rtlwifi: rtl8192de: Fix smatch warnings in rtl8192de/hw.c 2013-10-03 16:24:27 -04:00
rtl8192se rtlwifi: remove duplicate declarations and macros in headers 2013-09-26 15:15:14 -04:00
rtl8723ae Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-09-06 09:36:28 -07:00
base.c drivers/net: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-03 22:28:04 -04:00
base.h rtlwifi: remove duplicate declarations and macros in headers 2013-09-26 15:15:14 -04:00
cam.c rtlwifi: use eth_zero_addr() to assign zero address 2012-11-16 14:29:07 -05:00
cam.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
core.c rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
core.h rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
debug.c rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
debug.h rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
efuse.c wireless: rtlwifi: Replace variable with a break 2013-09-26 15:15:15 -04:00
efuse.h rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
Kconfig rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
Makefile rtlwifi: Fix build errors for unusual cases 2013-07-18 16:22:00 -04:00
pci.c rtlwifi: Fix smatch warning in pci.c 2013-10-03 16:24:28 -04:00
pci.h rtlwifi: rtl8188ee: Enable recognition of RTL8188EE 2013-04-01 16:20:54 -04:00
ps.c drivers/net: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-03 22:28:04 -04:00
ps.h rtlwifi: Initialize power-setting callback for USB devices 2013-07-17 14:34:48 -04:00
rc.c mac80211/rc80211: add chandef to rate initialization 2013-07-16 09:58:02 +03:00
rc.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
regd.c wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
regd.h wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
stats.c rtlwifi: rtl8192ce: rtl8192cu: rtl8192se: rtl81723ae: Turn on building of the new driver 2012-11-14 14:55:31 -05:00
stats.h rtlwifi: Modify files for addition of rtl8723ae 2012-11-14 14:55:30 -05:00
usb.c rtlwifi: Fix smatch warnings in usb.c 2013-10-03 16:24:29 -04:00
usb.h rtlwifi: usb: defer rx processing to tasklet 2013-03-25 16:42:22 -04:00
wifi.h rtlwifi: remove duplicate declarations and macros in headers 2013-09-26 15:15:14 -04:00