]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] drivers/net/wireless/airo.c unsigned comparason
authorGabriel A. Devenyi <ace@staticwave.ca>
Fri, 4 Nov 2005 00:30:47 +0000 (19:30 -0500)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 5 Nov 2005 19:40:26 +0000 (14:40 -0500)
commit29b09fcc341ede8dc08c900b132903fdd0231400
treee3a5ea7d07e60b81055c364d5bcbca8579557496
parent328198acb7407301ddf6005c0fa1e04bd0c539c8
[PATCH] drivers/net/wireless/airo.c unsigned comparason

fid is declared as a u32 (unsigned int), and then a few lines later, it is checked for a value < 0, which is clearly useless.
In the two locations this function is used, in one it is *explicitly* given a negative number, which would be ignored with the
current definition.

Thanks to LinuxICC (http://linuxicc.sf.net).

Signed-off-by: Gabriel A. Devenyi <ace@staticwave.ca>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/wireless/airo.c