aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/sbp2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee1394/sbp2.c')
-rw-r--r--drivers/ieee1394/sbp2.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c
index 6adbe1c796c2..1c8ce7acba82 100644
--- a/drivers/ieee1394/sbp2.c
+++ b/drivers/ieee1394/sbp2.c
@@ -173,11 +173,6 @@ MODULE_PARM_DESC(workarounds, "Work around device bugs (default = 0"
173 ", override internal blacklist = " __stringify(SBP2_WORKAROUND_OVERRIDE) 173 ", override internal blacklist = " __stringify(SBP2_WORKAROUND_OVERRIDE)
174 ", or a combination)"); 174 ", or a combination)");
175 175
176/* legacy parameter */
177static int force_inquiry_hack;
178module_param(force_inquiry_hack, int, 0644);
179MODULE_PARM_DESC(force_inquiry_hack, "Deprecated, use 'workarounds'");
180
181/* 176/*
182 * Export information about protocols/devices supported by this driver. 177 * Export information about protocols/devices supported by this driver.
183 */ 178 */
@@ -1554,11 +1549,6 @@ static void sbp2_parse_unit_directory(struct scsi_id_instance_data *scsi_id,
1554 } 1549 }
1555 1550
1556 workarounds = sbp2_default_workarounds; 1551 workarounds = sbp2_default_workarounds;
1557 if (force_inquiry_hack) {
1558 SBP2_WARN("force_inquiry_hack is deprecated. "
1559 "Use parameter 'workarounds' instead.");
1560 workarounds |= SBP2_WORKAROUND_INQUIRY_36;
1561 }
1562 1552
1563 if (!(workarounds & SBP2_WORKAROUND_OVERRIDE)) 1553 if (!(workarounds & SBP2_WORKAROUND_OVERRIDE))
1564 for (i = 0; i < ARRAY_SIZE(sbp2_workarounds_table); i++) { 1554 for (i = 0; i < ARRAY_SIZE(sbp2_workarounds_table); i++) {