Skip to contentSkip to conversation

9p: fix oops on rmmod

PATCH New Alexey Dobriyan 1 participant 1 message Feb 20, 2008 9P file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 9p: fix oops on rmmod

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

---

 net/9p/trans_fd.c |    7 -------
 1 file changed, 7 deletions(-)
net/9p/trans_fd.c +0 -7
@@ -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 <[email protected]>");
 MODULE_AUTHOR("Eric Van Hensbergen <[email protected]>");