]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: core: Drop message byte helper
authorHannes Reinecke <hare@suse.de>
Tue, 27 Apr 2021 08:30:43 +0000 (10:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 1 Jun 2021 02:48:24 +0000 (22:48 -0400)
commitc743c8f3d7d9ff01c07a81c0493bb0a9c170f9bb
treee8d2865a8913b30e0671917056acde846ceae97c
parentcffa92e55c903538ca911299cc4b5971d99fe4d7
scsi: core: Drop message byte helper

The message byte is now unused, so we can drop the helper to set the
message byte and the check for message bytes during error recovery.

Link: https://lore.kernel.org/r/20210427083046.31620-38-hare@suse.de
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
block/scsi_ioctl.c
drivers/scsi/scsi_error.c
drivers/scsi/sg.c
drivers/xen/xen-scsiback.c
include/scsi/scsi.h
include/scsi/scsi_cmnd.h