lkml.org 
[lkml]   [2004]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] IDE update for 2.6.3 (6/9)
Date

[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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.144 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site