i40iw: Fix for LAN handler removal
authorHenry Orosco <henry.orosco@intel.com>
Thu, 10 Nov 2016 03:27:02 +0000 (21:27 -0600)
committerDoug Ledford <dledford@redhat.com>
Mon, 5 Dec 2016 21:09:35 +0000 (16:09 -0500)
commitc38d7e0d08421a53cea4e09b76b3453d499fbd67
treedea7d4e0fd8b716943344125dd260214eeefc4ce
parent01d0b36798732d826fbf84de8961a09b3a2fbf3f
i40iw: Fix for LAN handler removal

If i40iw_open() fails for any reason, the LAN handler
is not being removed. Modify i40iw_deinit_device()
to always remove the handler.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_main.c