aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2013-03-16 09:09:07 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2013-04-28 17:36:43 -0400
commitdf7ce66363bf66b2e8ef6245f5f42c2f6fb0db52 (patch)
treef5d2f273b2f2ef2a35968eda2b1ef1ca275bca88 /drivers/firewire
parent60d509fa6a9c4653a86ad830e4c4b30360b23f0e (diff)
firewire: Remove two unneeded checks for macros
The old IEEE 1394 driver stack was removed in v2.6.37. That made the checks for two Kconfig (module) macros unneeded, since they will now always evaluate to true. Remove these two checks. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire')
-rw-r--r--drivers/firewire/ohci.c2
-rw-r--r--drivers/firewire/sbp2.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c
index 45912e6e0ac2..4a55b519b773 100644
--- a/drivers/firewire/ohci.c
+++ b/drivers/firewire/ohci.c
@@ -3837,6 +3837,4 @@ MODULE_DESCRIPTION("Driver for PCI OHCI IEEE1394 controllers");
3837MODULE_LICENSE("GPL"); 3837MODULE_LICENSE("GPL");
3838 3838
3839/* Provide a module alias so root-on-sbp2 initrds don't break. */ 3839/* Provide a module alias so root-on-sbp2 initrds don't break. */
3840#ifndef CONFIG_IEEE1394_OHCI1394_MODULE
3841MODULE_ALIAS("ohci1394"); 3840MODULE_ALIAS("ohci1394");
3842#endif
diff --git a/drivers/firewire/sbp2.c b/drivers/firewire/sbp2.c
index 1162d6b3bf85..12ec0e6fd09e 100644
--- a/drivers/firewire/sbp2.c
+++ b/drivers/firewire/sbp2.c
@@ -1636,9 +1636,7 @@ MODULE_LICENSE("GPL");
1636MODULE_DEVICE_TABLE(ieee1394, sbp2_id_table); 1636MODULE_DEVICE_TABLE(ieee1394, sbp2_id_table);
1637 1637
1638/* Provide a module alias so root-on-sbp2 initrds don't break. */ 1638/* Provide a module alias so root-on-sbp2 initrds don't break. */
1639#ifndef CONFIG_IEEE1394_SBP2_MODULE
1640MODULE_ALIAS("sbp2"); 1639MODULE_ALIAS("sbp2");
1641#endif
1642 1640
1643static int __init sbp2_init(void) 1641static int __init sbp2_init(void)
1644{ 1642{