lan78xx: Fix Smatch Warnings
authorWoojung.Huh@microchip.com <Woojung.Huh@microchip.com>
Tue, 11 Aug 2015 15:21:41 +0000 (15:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Aug 2015 21:44:16 +0000 (14:44 -0700)
commit81c38e811af6107b9941c6716e82c6fd93308541
tree238944b26749b7ce914637adb2984be434ed2401
parentc3ffe0ca4a75ec1b5183e6141bed4dfcde4309fb
lan78xx: Fix Smatch Warnings

lan78xx.c:2282 tx_complete() warn: variable dereferenced before check 'skb' (see line 2249)
lan78xx.c:2885 lan78xx_bh() info: ignoring unreachable code.
lan78xx.c:3159 lan78xx_probe() info: ignoring unreachable code.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c