wireless: remove redundant tests on unsigned
authorRoel Kluin <roel.kluin@gmail.com>
Mon, 22 Jun 2009 15:42:21 +0000 (17:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:57 +0000 (15:01 -0400)
commit35a0ace7739b50331c919a3255639f123b78eaff
treee1d168c275e5cd0f02a2538f4f22a9ffbd946ef0
parent1795378ee8d162084c6f98fc62ec309e418dfbe9
wireless: remove redundant tests on unsigned

bufsize and remainder are unsigned. When negative they are wrapped and caught by
the other test.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/hermes.c
drivers/net/wireless/rtl818x/rtl8180_dev.c