]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: core: Remove scsi_setup_cmnd() and scsi_setup_fs_cmnd()
authorChristoph Hellwig <hch@lst.de>
Mon, 5 Oct 2020 08:41:29 +0000 (10:41 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Oct 2020 01:48:28 +0000 (21:48 -0400)
commita7f571eb20d6a5994f26bd33d4b89fafc9389278
tree8cf4b8e3fa6070ff580fe688d17343ee1bf115e8
parent4e8d16f9d680ae61e63839c7ba8c36dd131437ed
scsi: core: Remove scsi_setup_cmnd() and scsi_setup_fs_cmnd()

Move this trivial functionality into scsi_prepare_cmd() instead of
splitting it over multiple small functions, and update the comments to
better document passthrough commands as the special case.

Link: https://lore.kernel.org/r/20201005084130.143273-10-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_lib.c