]> git.baikalelectronics.ru Git - kernel.git/commit
atm: Cleanup redundant tests on unsigned
authorroel kluin <roel.kluin@gmail.com>
Fri, 23 Oct 2009 06:09:55 +0000 (06:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Oct 2009 08:39:55 +0000 (01:39 -0700)
commit0e5e6ff38305e090901f5f0c6977b78e9bfb4628
treee7ce3e8b2a082919d3f928fb7dad0d8eac8edcfd
parent810c9254a225bb5a7f32c92ada2af07eb8b43f11
atm: Cleanup redundant tests on unsigned

The variables are unsigned so the `< 0' test always fails, the
other part of the test catches wrapped values.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/fore200e.c
drivers/atm/he.c