Skip to content

Commit 5693340

Browse files
John Garrymartinkpetersen
authored andcommitted
scsi: core: Delete scsi_use_blk_mq
Module param scsi_use_blk_mq has not been referenced for some time, so zap it. Link: https://lore.kernel.org/r/1581355992-139274-1-git-send-email-john.garry@huawei.com Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent 0d96300 commit 5693340

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

‎drivers/scsi/scsi.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -764,10 +764,6 @@ MODULE_LICENSE("GPL");
764764
module_param(scsi_logging_level, int, S_IRUGO|S_IWUSR);
765765
MODULE_PARM_DESC(scsi_logging_level, "a bit mask of logging levels");
766766

767-
/* This should go away in the future, it doesn't do anything anymore */
768-
bool scsi_use_blk_mq = true;
769-
module_param_named(use_blk_mq, scsi_use_blk_mq, bool, S_IWUSR | S_IRUGO);
770-
771767
static int __init init_scsi(void)
772768
{
773769
int error;

‎drivers/scsi/scsi_priv.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ extern int scsi_init_hosts(void);
2929
extern void scsi_exit_hosts(void);
3030

3131
/* scsi.c */
32-
extern bool scsi_use_blk_mq;
3332
int scsi_init_sense_cache(struct Scsi_Host *shost);
3433
void scsi_init_command(struct scsi_device *dev, struct scsi_cmnd *cmd);
3534
#ifdef CONFIG_SCSI_LOGGING

0 commit comments

Comments
 (0)