diff options
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | 2017-03-30 02:49:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-30 15:58:43 -0700 |
commit | 1b8955ee5f6c1575c09b44c8253883394c78bef7 (patch) | |
tree | be622d0e5ef5809297d279f6c12e1a11b6fc0c16 /net/unix/diag.c | |
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>
Diffstat (limited to 'net/unix/diag.c')
0 files changed, 0 insertions, 0 deletions