From: "Matthew R. Ochs" <mro...@linux.vnet.ibm.com>

The queuecommand routine is disorganized where it populates the
private command and also contains some logic/statements that are
not needed given that cxlflash devices do not (and likely never
will) support scatter-gather.

Restructure the code to remove the unnecessary logic and create an
organized flow:

        handle state -> DMA map -> populate command -> send command

Signed-off-by: Matthew R. Ochs <mro...@linux.vnet.ibm.com>

Acked-by: Uma Krishnan <ukri...@linux.vnet.ibm.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to