Skip to content

Commit df7ce66

Browse files
pebolleStefan Richter
authored andcommitted
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>
1 parent 60d509f commit df7ce66

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎drivers/firewire/ohci.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3837,6 +3837,4 @@ MODULE_DESCRIPTION("Driver for PCI OHCI IEEE1394 controllers");
38373837
MODULE_LICENSE("GPL");
38383838

38393839
/* Provide a module alias so root-on-sbp2 initrds don't break. */
3840-
#ifndef CONFIG_IEEE1394_OHCI1394_MODULE
38413840
MODULE_ALIAS("ohci1394");
3842-
#endif

‎drivers/firewire/sbp2.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,9 +1636,7 @@ MODULE_LICENSE("GPL");
16361636
MODULE_DEVICE_TABLE(ieee1394, sbp2_id_table);
16371637

16381638
/* Provide a module alias so root-on-sbp2 initrds don't break. */
1639-
#ifndef CONFIG_IEEE1394_SBP2_MODULE
16401639
MODULE_ALIAS("sbp2");
1641-
#endif
16421640

16431641
static int __init sbp2_init(void)
16441642
{

0 commit comments

Comments
 (0)