IB/ipoib: Delete napi in device uninit default
authorAlex Vesker <valex@mellanox.com>
Wed, 14 Jun 2017 06:59:07 +0000 (09:59 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Jun 2017 19:16:23 +0000 (15:16 -0400)
commitb53d4566cc117d9ab8d20b365ba7c2a519439725
tree9a16933779cb4b34b388168e63b782184da689e8
parent022d038a163f9e889428789d681b97bf07730fb7
IB/ipoib: Delete napi in device uninit default

This patch mekas init_default and uninit_default symmetric
with a call to delete napi. Additionally, the uninit_default
gained delete napi call in case of init_default fails.

Fixes: 515ed4f3aab4 ('IB/IPoIB: Separate control and data related initializations')
Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c