From: Roland Dreier <roland@xxxxxxxxxxxxxxx> With the modern target core memory handling, se_cmd->t_data_sg already is an sglist that covers the all the command memory, so rechaining the the task sglists back together is useless complexity. Kill all the associated code. NOTE: I have only tested the qla2xxx conversion; the other fabrics are compile-tested only. The conversion is pretty mechanical, so I don't think the risk is high, but someone should probably check my work. Roland Dreier (5): tcm_fc: Remove use of transport_do_task_sg_chain() IB/srpt: Remove use of transport_do_task_sg_chain() tcm_qla2xxx: Remove use of transport_do_task_sg_chain() ibmvscsis: Remove use of transport_do_task_sg_chain() target: Remove transport_do_task_sg_chain() and associated detritus drivers/infiniband/ulp/srpt/ib_srpt.c | 8 +-- drivers/scsi/ibmvscsi/ibmvscsis.c | 18 ++----- drivers/scsi/qla2xxx/qla_target.c | 4 +- drivers/scsi/qla2xxx/tcm_qla2xxx.c | 23 ++------ drivers/target/target_core_transport.c | 89 +------------------------------ drivers/target/tcm_fc/tfc_cmd.c | 18 ++----- drivers/target/tcm_fc/tfc_conf.c | 3 - drivers/target/tcm_fc/tfc_io.c | 2 +- include/target/target_core_base.h | 2 - include/target/target_core_fabric.h | 7 --- 10 files changed, 21 insertions(+), 153 deletions(-) -- 1.7.9.1 -- 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