net: smsc911x: Remove multiple exit points from smsc911x_open
authorJeremy Linton <jeremy.linton@arm.com>
Thu, 1 Sep 2016 20:15:06 +0000 (15:15 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Sep 2016 00:28:33 +0000 (17:28 -0700)
commit1358bd5a7477b346dfb6b502051d61f29b11a200
tree2a846db795fb0e1350c365a89195737421638487
parent2f86953e7436c9b9a4690909c5e2db24799e173b
net: smsc911x: Remove multiple exit points from smsc911x_open

Rework the error handling in smsc911x open in preparation
for the mdio startup being moved here.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smsc911x.c