summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla4xxx/ql4_init.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-08-10 13:22:24 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-08-16 14:39:48 -0400
commit13eb670c104e15e06d38f3a210cfaf467a9c66de (patch)
tree3c863b428ca3b72c8a5c85971d1f4f5c47086be9 /drivers/scsi/qla4xxx/ql4_init.c
parentaa0d52c5e7f352ce9725c8940fe2458f2c04e049 (diff)
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>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_init.c')
0 files changed, 0 insertions, 0 deletions