1
linux/drivers/net/wireless/iwmc3200wifi
John W. Linville 13eb670c10 iwm3200wifi: remove comparison to WIFI_IF_NTFY_MAX in iwm_ntf_wifi_if_wrapper
drivers/net/wireless/iwmc3200wifi/rx.c: In function 'iwm_ntf_wifi_if_wrapper':
drivers/net/wireless/iwmc3200wifi/rx.c:1198: warning: comparison is always true due to limited range of data type

This is, of course, because the value of WIFI_IF_NTFY_MAX is 0xff and
hdr->oid is a u8.  This is obviously an attempt to verify the range on
an input value, but since it has no effect it can simply be removed.

Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Samuel Ortiz <samuel.ortiz@intel.com>
2010-08-16 14:39:48 -04:00
..
bus.h
cfg80211.c
cfg80211.h
commands.c
commands.h
debug.h
debugfs.c
eeprom.c
eeprom.h
fw.c
fw.h
hal.c
hal.h
iwm.h
Kconfig
lmac.h
main.c
Makefile
netdev.c
rx.c iwm3200wifi: remove comparison to WIFI_IF_NTFY_MAX in iwm_ntf_wifi_if_wrapper 2010-08-16 14:39:48 -04:00
rx.h
sdio.c
sdio.h
trace.c
trace.h
tx.c
umac.h