linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] 9p: fix oops on rmmod
@ 2008-02-20  8:49 Alexey Dobriyan
  0 siblings, 0 replies; only message in thread
From: Alexey Dobriyan @ 2008-02-20  8:49 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, v9fs-developer

Unloadable modules should just skip module_exit() hook ;-)

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
---

 net/9p/trans_fd.c |    7 -------
 1 file changed, 7 deletions(-)

--- a/net/9p/trans_fd.c
+++ b/net/9p/trans_fd.c
@@ -459,14 +459,7 @@ static int __init p9_trans_fd_init(void)
 
 	return 1;
 }
-
-static void __exit p9_trans_fd_exit(void) {
-	printk(KERN_ERR "Removal of 9p transports not implemented\n");
-	BUG();
-}
-
 module_init(p9_trans_fd_init);
-module_exit(p9_trans_fd_exit);
 
 MODULE_AUTHOR("Latchesar Ionkov <lucho@ionkov.net>");
 MODULE_AUTHOR("Eric Van Hensbergen <ericvh@gmail.com>");


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-20  8:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20  8:49 [PATCH] 9p: fix oops on rmmod Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).