Skip to content

Commit

Permalink
scsi: core: Remove <scsi/scsi_request.h>
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and martinkpetersen committed Mar 2, 2022
1 parent 6aded12 commit 2644030
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion drivers/cdrom/cdrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@
#include <linux/times.h>
#include <linux/uaccess.h>
#include <scsi/scsi_common.h>
#include <scsi/scsi_request.h>

/* used to tell the module to turn on full debugging messages */
static bool debug;
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/scsi_transport_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

#include <scsi/scsi.h>
#include <scsi/scsi_cmnd.h>
#include <scsi/scsi_request.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_transport.h>
Expand Down
1 change: 0 additions & 1 deletion include/linux/bsg-lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#define _BLK_BSG_

#include <linux/blkdev.h>
#include <scsi/scsi_request.h>

struct bsg_job;
struct request;
Expand Down
1 change: 0 additions & 1 deletion include/scsi/scsi_cmnd.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#include <linux/timer.h>
#include <linux/scatterlist.h>
#include <scsi/scsi_device.h>
#include <scsi/scsi_request.h>

struct Scsi_Host;
struct scsi_driver;
Expand Down
7 changes: 0 additions & 7 deletions include/scsi/scsi_request.h

This file was deleted.

0 comments on commit 2644030

Please sign in to comment.