usbnet: remove invalid check
authorAndrzej Hajda <a.hajda@samsung.com>
Mon, 21 Sep 2015 13:33:59 +0000 (15:33 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Sep 2015 23:14:32 +0000 (16:14 -0700)
commit227b9e8708b14a8a26ef67bbbe19b13626df4a35
tree2ba3ff492d381c9d5bd6d26f3fd3f42afaef250e
parent7e724da64491b20257d46f100bcc6d6214c37b70
usbnet: remove invalid check

skb->len is always non-negative.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2038576

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c
drivers/net/usb/smsc75xx.c
drivers/net/usb/smsc95xx.c