target: Remove first argument of target_{get,put}_sess_cmd()
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 27 Apr 2015 11:52:36 +0000 (13:52 +0200)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 28 Feb 2016 05:09:36 +0000 (00:09 -0500)
commit6f04c5131ca6a50b8b7747eed79bf5efe9c51e8b
treed7443bc8105869b81291f26d5823b9581ff98c81
parent988ba6758fbc851c71505c3df18eb8af1e730fa7
target: Remove first argument of target_{get,put}_sess_cmd()

[ Upstream commit afc16604c06414223478df3e42301ab630b9960a ]

The first argument of these two functions is always identical
to se_cmd->se_sess. Hence remove the first argument.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Andy Grover <agrover@redhat.com>
Cc: <qla2xxx-upstream@qlogic.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/infiniband/ulp/isert/ib_isert.c
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/scsi/qla2xxx/tcm_qla2xxx.c
drivers/target/iscsi/iscsi_target.c
drivers/target/iscsi/iscsi_target_configfs.c
drivers/target/iscsi/iscsi_target_util.c
drivers/target/target_core_tmr.c
drivers/target/target_core_transport.c
drivers/vhost/scsi.c
include/target/target_core_fabric.h