On 05/24/2017 02:34 AM, Bart Van Assche wrote: > Just like for the scsi-mq code path, in the single queue SCSI code > path only add commands to the per-device command list if required > by the SCSI LLD. This patch will make it easier to merge the > single-queue and multiqueue command initialization code. > > Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > Cc: Hannes Reinecke <hare@xxxxxxxx> > --- > drivers/scsi/scsi.c | 9 +-------- > drivers/scsi/scsi_lib.c | 52 +++++++++++++++++++++++++++++------------------- > drivers/scsi/scsi_priv.h | 2 ++ > 3 files changed, 35 insertions(+), 28 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg)