ibmvnic: Clean up resources on probe failure
authorNathan Fontenot <nfont@linux.vnet.ibm.com>
Tue, 8 Aug 2017 19:28:45 +0000 (14:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Aug 2017 05:30:52 +0000 (22:30 -0700)
commit7c1885ae9aba0d6b3f854dfee099a3c1c796755f
tree1e831884aeb27bd7ddbc681a83141300e23b0d75
parentcd9cb3890b202f33ab4dfc287582ced6a2205137
ibmvnic: Clean up resources on probe failure

Ensure that any resources allocated during probe are released if the
probe of the driver fails.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c