[PATCH] 2.4.19-pre3 ide_xlate_1024_hook ???

From: Jeff Chua (jeffchua@silk.corp.fedex.com)
Date: Wed Mar 13 2002 - 22:22:27 EST


It seems that the "ide_xlate_1024_hook" is redundant in
./drivers/ide/ide-probe.c

It's not used anywhere by the kernel, and it caused "depmod" to fail
with unknown ide_xlate_1024_hook symbol.

Jeff

Patch ...

--- ./drivers/ide/ide-probe.c.org Thu Mar 14 11:01:20 2002
+++ ./drivers/ide/ide-probe.c Thu Mar 14 11:03:16 2002
@@ -987,7 +987,6 @@
 }

 #ifdef MODULE
-extern int (*ide_xlate_1024_hook)(kdev_t, int, int, const char *);

 int init_module (void)
 {
@@ -997,14 +996,12 @@
                ide_unregister(index);
        ideprobe_init();
        create_proc_ide_interfaces();
- ide_xlate_1024_hook = ide_xlate_1024;
        return 0;
 }

 void cleanup_module (void)
 {
        ide_probe = NULL;
- ide_xlate_1024_hook = 0;
 }
 MODULE_LICENSE("GPL");
 #endif /* MODULE */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 15 2002 - 22:00:16 EST