IB/iser: Remove a redundant always-false condition
authorSagi Grimberg <sagig@mellanox.com>
Thu, 6 Aug 2015 15:32:51 +0000 (18:32 +0300)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:28 +0000 (18:12 -0400)
commitb9abd8d21d3a04903aefcb7742efe3390f2fac57
treeaea6607bc2c0fe4fd8cf438306d0771a55b99762
parent8d5944d80359e645feb2ebd069a6f4caf7825e40
IB/iser: Remove a redundant always-false condition

We always call iser_initialize_task_headers() and set
the header tx_sg.lkey to the device mr lkey, so no
point in checking it in iser_create_send_desc().

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iser_initiator.c