summaryrefslogtreecommitdiff
path: root/drivers/scsi/aha1542.h
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2016-11-29 03:43:01 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2016-12-01 03:53:02 +0300
commit9d89326c6660bc287b74983b51239460da10e189 (patch)
tree0d1319b57345cabcb86b221cda40897d03b6e6f2 /drivers/scsi/aha1542.h
parentd4ace35166e55e73afe72a05d166342996063d35 (diff)
downloadlinux-9d89326c6660bc287b74983b51239460da10e189.tar.xz
scsi: cxlflash: Cleanup queuecommand()
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 <mrochs@linux.vnet.ibm.com> Acked-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/aha1542.h')
0 files changed, 0 insertions, 0 deletions