On Mon, 2015-04-27 at 13:52 +0200, Bart Van Assche wrote: > 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@xxxxxxxxxxx> > Reviewed-by: Sagi Grimberg <sagig@xxxxxxxxxxxx> > Cc: Christoph Hellwig <hch@xxxxxx> > Cc: Andy Grover <agrover@xxxxxxxxxx> > Cc: <qla2xxx-upstream@xxxxxxxxxx> > Cc: Felipe Balbi <balbi@xxxxxx> > Cc: Michael S. Tsirkin <mst@xxxxxxxxxx> > --- > Changes between v2 and v3: > - Ported this patch from kernel v4.0-rc1 to v4.1-rc1. > - Removed a formatting change from target_put_sess_cmd() > > Changes between v1 and v2: > - Restored target_{get,put}_sess_cmd() function names. > - Restored session pointer NULL check. > - Extended CC list. > --- > drivers/infiniband/ulp/isert/ib_isert.c | 6 +++--- > drivers/infiniband/ulp/srpt/ib_srpt.c | 10 +++++----- > drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +- > drivers/target/iscsi/iscsi_target.c | 15 +++++++-------- > drivers/target/iscsi/iscsi_target_configfs.c | 2 +- > drivers/target/iscsi/iscsi_target_util.c | 4 ++-- > drivers/target/target_core_tmr.c | 2 +- > drivers/target/target_core_transport.c | 20 ++++++++++---------- > drivers/vhost/scsi.c | 2 +- > include/target/target_core_fabric.h | 4 ++-- > 10 files changed, 33 insertions(+), 34 deletions(-) > Applied to for-next as v4.2 code. Thanks! --nab -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html