Commit 25690b5e authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] remove legacy probe code

parent ddb56893
...@@ -229,10 +229,8 @@ int __init probe_ali14xx (void) ...@@ -229,10 +229,8 @@ int __init probe_ali14xx (void)
return 1; return 1;
} }
#ifndef HWIF_PROBE_CLASSIC_METHOD
probe_hwif_init(&ide_hwifs[0]); probe_hwif_init(&ide_hwifs[0]);
probe_hwif_init(&ide_hwifs[1]); probe_hwif_init(&ide_hwifs[1]);
#endif /* HWIF_PROBE_CLASSIC_METHOD */
return 0; return 0;
} }
......
...@@ -138,11 +138,8 @@ void __init probe_dtc2278 (void) ...@@ -138,11 +138,8 @@ void __init probe_dtc2278 (void)
ide_hwifs[1].mate = &ide_hwifs[0]; ide_hwifs[1].mate = &ide_hwifs[0];
ide_hwifs[1].channel = 1; ide_hwifs[1].channel = 1;
#ifndef HWIF_PROBE_CLASSIC_METHOD
probe_hwif_init(&ide_hwifs[0]); probe_hwif_init(&ide_hwifs[0]);
probe_hwif_init(&ide_hwifs[1]); probe_hwif_init(&ide_hwifs[1]);
#endif /* HWIF_PROBE_CLASSIC_METHOD */
} }
void __init dtc2278_release (void) void __init dtc2278_release (void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment