aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/uverbs_main.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2016-07-23 11:28:30 +0200
committerDoug Ledford <dledford@redhat.com>2016-08-03 21:03:35 -0400
commit380bae5bf2fb6db2cde514e4878a7964dc06c1fa (patch)
treec2b98847d7245e38e552660f0e3c476d604c81fa /drivers/infiniband/core/uverbs_main.c
parentIB/mthca: NULL arg to pci_dev_put is OK (diff)
downloadlinux-dev-380bae5bf2fb6db2cde514e4878a7964dc06c1fa.tar.xz
linux-dev-380bae5bf2fb6db2cde514e4878a7964dc06c1fa.zip
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>
Diffstat (limited to 'drivers/infiniband/core/uverbs_main.c')
0 files changed, 0 insertions, 0 deletions