summaryrefslogtreecommitdiff
path: root/drivers/net/usb/lan78xx.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2016-04-25 22:11:22 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-04-28 20:29:20 (GMT)
commit1d9619d5337df6cf56eb66b6c8213d1317583513 (patch)
tree192ca5415164c14b3833864f9a2e139f1aeb31f6 /drivers/net/usb/lan78xx.c
parent7b7483409f09c15f30ac43242ead1ab3061e1f59 (diff)
downloadlinux-1d9619d5337df6cf56eb66b6c8213d1317583513.tar.xz
net: dsa: mv88e6xxx: fix uninitialized error return
The error return err is not initialized and there is a possibility that err is not assigned causing mv88e6xxx_port_bridge_join to return a garbage error return status. Fix this by initializing err to 0. Signed-off-by: Colin Ian King <colin.king@canonical.com> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/lan78xx.c')
0 files changed, 0 insertions, 0 deletions