[PATCH] IDE update for 2.6.3 (6/9)

From: Bartlomiej Zolnierkiewicz
Date: Thu Feb 19 2004 - 10:08:18 EST



[IDE] remove bogus comment and code from ide_unregister_driver()

When ide_remove_proc_entries() is called, driver specific /proc/ide/hdx/
entries have been already removed by ->cleanup()->ide_unregister_subdriver().

linux-2.6.3-root/drivers/ide/ide.c | 6 ------
1 files changed, 6 deletions(-)

diff -puN drivers/ide/ide.c~ide_bogus_oops drivers/ide/ide.c
--- linux-2.6.3/drivers/ide/ide.c~ide_bogus_oops 2004-02-19 02:10:43.183892192 +0100
+++ linux-2.6.3-root/drivers/ide/ide.c 2004-02-19 02:10:43.187891584 +0100
@@ -2364,12 +2364,6 @@ void ide_unregister_driver(ide_driver_t
printk(KERN_ERR "%s: cleanup_module() called while still busy\n", drive->name);
BUG();
}
- /* We must remove proc entries defined in this module.
- Otherwise we oops while accessing these entries */
-#ifdef CONFIG_PROC_FS
- if (drive->proc)
- ide_remove_proc_entries(drive->proc, driver->proc);
-#endif
ata_attach(drive);
}
}

_

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