From 8eeeb1b99c701a4a40ff5d6f456d789338aa1058 Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl> Date: Thu, 19 Feb 2004 05:43:08 -0800 Subject: [PATCH] [PATCH] 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(). --- drivers/ide/ide.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 68a6a3303aa4..a7a946f0edd4 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -2364,12 +2364,6 @@ void ide_unregister_driver(ide_driver_t *driver) 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); } } -- 2.30.9