commit | 1b8955ee5f6c1575c09b44c8253883394c78bef7 | [log] [tgz] |
---|---|---|
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | Thu Mar 30 02:49:29 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 30 15:58:43 2017 -0700 |
tree | be622d0e5ef5809297d279f6c12e1a11b6fc0c16 | |
parent | 7bbc27a4961a7d5f8e4294929ce64d6c6e81e90c [diff] |
ibmvnic: Cleanup failure path in ibmvnic_open Now that ibmvnic_release_resources will clean up all of our resources properly, even if they were not allocated, we can just call this for failues in ibmvnic_open. This patch also moves the ibmvnic_release_resources() routine up in the file to avoid creating a forward declaration ad re-names it to drop the ibmvnic prefix. Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>