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)
commit74e5e6c1b18ca0ed1c8499cbaf2e3b758f67dbc6
tree8cf4b8e3fa6070ff580fe688d17343ee1bf115e8
parent7007e9dd56767a95de0947b3f7599bcc2f21687f
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