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

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>

authored by

John Garry and committed by
Martin K. Petersen
56933401 0d963008

-5
-4
drivers/scsi/scsi.c
··· 764 764 module_param(scsi_logging_level, int, S_IRUGO|S_IWUSR); 765 765 MODULE_PARM_DESC(scsi_logging_level, "a bit mask of logging levels"); 766 766 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 - 771 767 static int __init init_scsi(void) 772 768 { 773 769 int error;
-1
drivers/scsi/scsi_priv.h
··· 29 29 extern void scsi_exit_hosts(void); 30 30 31 31 /* scsi.c */ 32 - extern bool scsi_use_blk_mq; 33 32 int scsi_init_sense_cache(struct Scsi_Host *shost); 34 33 void scsi_init_command(struct scsi_device *dev, struct scsi_cmnd *cmd); 35 34 #ifdef CONFIG_SCSI_LOGGING