]> git.baikalelectronics.ru Git - kernel.git/commit
net: Cleanup redundant tests on unsigned
authorroel kluin <roel.kluin@gmail.com>
Fri, 23 Oct 2009 05:59:21 +0000 (05:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Oct 2009 08:39:54 +0000 (01:39 -0700)
commit810c9254a225bb5a7f32c92ada2af07eb8b43f11
tree4b78359d2af0a8e0912addbdff6fa07856f25f95
parent920edfc5caa06882feeb8dce62cff273f8523e26
net: Cleanup redundant tests on unsigned

optlen is unsigned so the `< 0' test is never true.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/can/raw.c
net/compat.c
net/ipv4/ip_sockglue.c