]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a8b144d8cbc287f09cc4dbe2e295fbe946ed405
tree9a16933779cb4b34b388168e63b782184da689e8
parent7afc9b3b26451c62f144567e5beef4e217cee245
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: 1d487d85c848 ('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