vfs: pipe.c is really non-modular
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 19 Dec 2011 01:17:41 +0000 (20:17 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 4 Jan 2012 03:52:41 +0000 (22:52 -0500)
... so no exitcalls there.  Not much would work if pipe(2) would stop
working, after all...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/pipe.c

index 4065f07366b37e2982b1841aeaf308492a351a3d..f0e485d54e6475fbbce59a2876f6163086031395 100644 (file)
--- a/fs/pipe.c
+++ b/fs/pipe.c
@@ -1290,11 +1290,4 @@ static int __init init_pipe_fs(void)
        return err;
 }
 
-static void __exit exit_pipe_fs(void)
-{
-       kern_unmount(pipe_mnt);
-       unregister_filesystem(&pipe_fs_type);
-}
-
 fs_initcall(init_pipe_fs);
-module_exit(exit_pipe_fs);