IB/srp: Remove a superfluous check from srp_free_req_data()
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 18 May 2015 11:25:54 +0000 (13:25 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:56 +0000 (13:35 -0400)
commit47513cf4f4a4a9d1db2823de9c5864f834dbaecf
treeddd66d469a90e0b8235321467b3f282587d46cd6
parent33ab3e5ba2f7d647812dbca573ee3ba5baf58284
IB/srp: Remove a superfluous check from srp_free_req_data()

The function srp_free_req_data() does not use ch->target.
Hence remove the ch->target != NULL check.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c