2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/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 iwmc3200wifi: cleanup unneeded debugfs error handling 2010-05-03 14:46:37 -04:00
cfg80211.c cfg80211/mac80211: Update set_tx_power to use mBm instead of dBm units 2010-06-24 15:42:33 -04:00
cfg80211.h
commands.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
commands.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
debug.h iwmc3200wifi: fix busted iwm_debugfs_init definition 2010-05-03 16:21:10 -04:00
debugfs.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-05 16:14:16 -04:00
eeprom.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
eeprom.h
fw.c
fw.h
hal.c wireless: fix several minor description typos 2010-06-02 16:13:18 -04:00
hal.h
iwm.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
Kconfig
lmac.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
main.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
Makefile iwmc3200wifi: check sparse endianness annotations 2010-04-16 15:47:02 -04:00
netdev.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
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 drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
sdio.h
trace.c
trace.h iwmc3200wifi: Fix sparse warnings 2010-04-16 15:47:00 -04:00
tx.c Merge branch 'master' into for-davem 2010-04-23 14:43:45 -04:00
umac.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00