git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50e4fe9
)
net: Cleanup redundant tests on unsigned
author
roel kluin
<roel.kluin@gmail.com>
Fri, 23 Oct 2009 05:21:56 +0000
(
05:21
+0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 29 Oct 2009 08:39:53 +0000
(
01:39
-0700)
If there is data, the unsigned skb->len is greater than 0.
rt.sigdigits is unsigned as well, so the test `>= 0' is
always true, 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>
No differences found