firewire: Remove two unneeded checks for macros
authorPaul Bolle <pebolle@tiscali.nl>
Sat, 16 Mar 2013 13:09:07 +0000 (14:09 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 28 Apr 2013 21:36:43 +0000 (23:36 +0200)
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>
drivers/firewire/ohci.c
drivers/firewire/sbp2.c

index 45912e6e0ac2e59b9b6a1b9001d984b9d2760ec0..4a55b519b7736abb04efcacd8bb89551e0442dbe 100644 (file)
@@ -3837,6 +3837,4 @@ MODULE_DESCRIPTION("Driver for PCI OHCI IEEE1394 controllers");
 MODULE_LICENSE("GPL");
 
 /* Provide a module alias so root-on-sbp2 initrds don't break. */
-#ifndef CONFIG_IEEE1394_OHCI1394_MODULE
 MODULE_ALIAS("ohci1394");
-#endif
index 1162d6b3bf8561d6ed1cfe399643dff6deb4027b..12ec0e6fd09ecbbdd9f7587322df527b63b8f7c4 100644 (file)
@@ -1636,9 +1636,7 @@ MODULE_LICENSE("GPL");
 MODULE_DEVICE_TABLE(ieee1394, sbp2_id_table);
 
 /* Provide a module alias so root-on-sbp2 initrds don't break. */
-#ifndef CONFIG_IEEE1394_SBP2_MODULE
 MODULE_ALIAS("sbp2");
-#endif
 
 static int __init sbp2_init(void)
 {