Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: core: Remove <scsi/scsi_request.h>

This header is empty now except for an include of <linux/blk-mq.h>, so
remove it.

Link: https://lore.kernel.org/r/20220224175552.988286-9-hch@lst.de
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: John Garry <john.garry@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Christoph Hellwig and committed by
Martin K. Petersen
26440303 6aded12b

-11
-1
drivers/cdrom/cdrom.c
··· 284 284 #include <linux/times.h> 285 285 #include <linux/uaccess.h> 286 286 #include <scsi/scsi_common.h> 287 - #include <scsi/scsi_request.h> 288 287 289 288 /* used to tell the module to turn on full debugging messages */ 290 289 static bool debug;
-1
drivers/scsi/scsi_transport_sas.c
··· 34 34 35 35 #include <scsi/scsi.h> 36 36 #include <scsi/scsi_cmnd.h> 37 - #include <scsi/scsi_request.h> 38 37 #include <scsi/scsi_device.h> 39 38 #include <scsi/scsi_host.h> 40 39 #include <scsi/scsi_transport.h>
-1
include/linux/bsg-lib.h
··· 10 10 #define _BLK_BSG_ 11 11 12 12 #include <linux/blkdev.h> 13 - #include <scsi/scsi_request.h> 14 13 15 14 struct bsg_job; 16 15 struct request;
-1
include/scsi/scsi_cmnd.h
··· 10 10 #include <linux/timer.h> 11 11 #include <linux/scatterlist.h> 12 12 #include <scsi/scsi_device.h> 13 - #include <scsi/scsi_request.h> 14 13 15 14 struct Scsi_Host; 16 15 struct scsi_driver;
-7
include/scsi/scsi_request.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef _SCSI_SCSI_REQUEST_H 3 - #define _SCSI_SCSI_REQUEST_H 4 - 5 - #include <linux/blk-mq.h> 6 - 7 - #endif /* _SCSI_SCSI_REQUEST_H */