diff options
author | Hannes Reinecke <hare@suse.com> | 2019-02-26 15:56:42 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-02-27 09:19:24 -0500 |
commit | b9cef50921eb018917e3c60b0c7f4ae1e113ad03 (patch) | |
tree | ddbfc2c3aa4230e7824578a363da1de3e2e0f477 /drivers/scsi/scsi.c | |
parent | f50e76052321cc49f9d49fe444c3d3806f223dc3 (diff) | |
download | linux-b9cef50921eb018917e3c60b0c7f4ae1e113ad03.tar.gz linux-b9cef50921eb018917e3c60b0c7f4ae1e113ad03.tar.bz2 linux-b9cef50921eb018917e3c60b0c7f4ae1e113ad03.zip |
scsi: kill command serial number
No users left, kill it.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi.c')
-rw-r--r-- | drivers/scsi/scsi.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c index 7675ff0ca2ea..99a7b9f520ae 100644 --- a/drivers/scsi/scsi.c +++ b/drivers/scsi/scsi.c @@ -175,22 +175,6 @@ void scsi_log_completion(struct scsi_cmnd *cmd, int disposition) #endif /** - * scsi_cmd_get_serial - Assign a serial number to a command - * @host: the scsi host - * @cmd: command to assign serial number to - * - * Description: a serial number identifies a request for error recovery - * and debugging purposes. Protected by the Host_Lock of host. - */ -void scsi_cmd_get_serial(struct Scsi_Host *host, struct scsi_cmnd *cmd) -{ - cmd->serial_number = host->cmd_serial_number++; - if (cmd->serial_number == 0) - cmd->serial_number = host->cmd_serial_number++; -} -EXPORT_SYMBOL(scsi_cmd_get_serial); - -/** * scsi_finish_command - cleanup and pass command back to upper layer * @cmd: the command * |