commit | 380bae5bf2fb6db2cde514e4878a7964dc06c1fa | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sat Jul 23 11:28:30 2016 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Wed Aug 03 21:03:35 2016 -0400 |
tree | c2b98847d7245e38e552660f0e3c476d604c81fa | |
parent | 3491ab63b45ea9b485683574081ed8535d42f2da [diff] |
IB/mthca: Clean up error unwind flow in mthca_reset() The kfree() function was called in a few cases by the mthca_reset() function during error handling even if the passed variables "bridge_header" and "hca_header" contained a null pointer. Adjust jump targets according to the Linux coding style convention. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>