]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
amd-xgbe: unwind on error in xgbe_mdio_register()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 11 Jun 2014 06:56:26 +0000 (09:56 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 22:39:19 +0000 (15:39 -0700)
commit8fc908c3c3a362df1bf9b8f999d30e2c4258d3fc
tree2c8ccc847bf8129f74255f7d7f00d9a48355924d
parent0aaf43f51dc7e7f00029c90d778e895a88a90cc6
amd-xgbe: unwind on error in xgbe_mdio_register()

There is a typo here so we return directly instead of unwinding.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-mdio.c