i40iw: Remove NULL check for cm_node->iwdev
authorHenry Orosco <henry.orosco@intel.com>
Thu, 10 Nov 2016 03:32:25 +0000 (21:32 -0600)
committerDoug Ledford <dledford@redhat.com>
Mon, 5 Dec 2016 21:09:36 +0000 (16:09 -0500)
commit1ad19f739f494eda2f8e9611ab6c3056244b70fc
tree43576485c3bc313c648360e8d1c4abb1fb90de31
parent799749979dbf41a878a00abdae00cf484c21a5b2
i40iw: Remove NULL check for cm_node->iwdev

It is not necessary to check cm_node->iwdev in
i40iw_rem_ref_cm_node() as it can never be NULL after
a successful call out of i40iw_make_cm_node().

Signed-off-by: Chien Tin Tung <chien.tin.tung@intel.com>
Signed-off-by: Henry Orosco <henry.orosco@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_cm.c