]> git.baikalelectronics.ru Git - kernel.git/commitdiff
scsi: qla2xxx: Remove unused 'ql_dm_tgt_ex_pct' parameter
authorGleb Chesnokov <Chesnokov.G@raidix.com>
Mon, 23 May 2022 09:24:59 +0000 (09:24 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 2 Jun 2022 02:48:37 +0000 (22:48 -0400)
The ql_dm_tgt_ex_pct parameter was introduced in commit a752d91ae589
("qla2xxx: Add Dual mode support in the driver"). Then the use of this
parameter was dropped in commit fd44f4f29eb4 ("scsi: qla2xxx: Add
ql2xiniexchg parameter").

Thus, remove ql_dm_tgt_ex_pct since it is no longer used.

Link: https://lore.kernel.org/r/AM9PR10MB41185ADE95B92B4E6926BE639DD49@AM9PR10MB4118.EURPRD10.PROD.OUTLOOK.COM
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Gleb Chesnokov <Chesnokov.G@raidix.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c

index 2d30578aebcfd57dd6ed76367181c531501baf4d..92420766ebec97ba06e368ef5e36e7420b768438 100644 (file)
@@ -48,13 +48,6 @@ MODULE_PARM_DESC(qlini_mode,
        "when ready "
        "\"enabled\" (default) - initiator mode will always stay enabled.");
 
-static int ql_dm_tgt_ex_pct = 0;
-module_param(ql_dm_tgt_ex_pct, int, S_IRUGO|S_IWUSR);
-MODULE_PARM_DESC(ql_dm_tgt_ex_pct,
-       "For Dual Mode (qlini_mode=dual), this parameter determines "
-       "the percentage of exchanges/cmds FW will allocate resources "
-       "for Target mode.");
-
 int ql2xuctrlirq = 1;
 module_param(ql2xuctrlirq, int, 0644);
 MODULE_PARM_DESC(ql2xuctrlirq,