]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: cxlflash: Cleanup send_tmf()
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Tue, 29 Nov 2016 00:42:50 +0000 (18:42 -0600)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 1 Dec 2016 00:53:02 +0000 (19:53 -0500)
commit7f46b0b849ab95509527047ff9e20e3639597dc7
tree1736fa64d030bb054f2ad632df85a5edb7e05838
parent0c91037eba15ed85eb60442397eb6c7a433b0ce5
scsi: cxlflash: Cleanup send_tmf()

The send_tmf() routine includes some copy/paste cruft that can be
removed as well as the setting of an AFU command-specific while
holding the tmf_slock. While not a bug, it is out of place and
should be shifted down alongside the other command initialization
statements for clarity.

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>
drivers/scsi/cxlflash/main.c