summaryrefslogtreecommitdiffstats
path: root/fs/binfmt_flat.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-29 00:59:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-29 08:06:01 -0700
commit3202e1811fd312f3f32ddc8f526aa2691b64ec55 (patch)
tree57542acf2fad8f36de17499f1926809d331325a6 /fs/binfmt_flat.c
parentf1e3af72c10ba74fb15864c354515ec1bd8bf2a5 (diff)
downloadlinux-3202e1811fd312f3f32ddc8f526aa2691b64ec55.tar.gz
linux-3202e1811fd312f3f32ddc8f526aa2691b64ec55.tar.bz2
linux-3202e1811fd312f3f32ddc8f526aa2691b64ec55.zip
make BINFMT_FLAT a bool
I have not yet seen anyone saying he has a reasonable use case for using BINFMT_FLAT modular on his embedded device. Considering that fs/binfmt_flat.c even lacks a MODULE_LICENSE() I really doubt there is any, and this patch therefore makes BINFMT_FLAT a bool. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Bryan Wu <cooloney.lkml@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/binfmt_flat.c')
-rw-r--r--fs/binfmt_flat.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/binfmt_flat.c b/fs/binfmt_flat.c
index 0498b181dd52..c12cc362fd3b 100644
--- a/fs/binfmt_flat.c
+++ b/fs/binfmt_flat.c
@@ -932,14 +932,8 @@ static int __init init_flat_binfmt(void)
return register_binfmt(&flat_format);
}
-static void __exit exit_flat_binfmt(void)
-{
- unregister_binfmt(&flat_format);
-}
-
/****************************************************************************/
core_initcall(init_flat_binfmt);
-module_exit(exit_flat_binfmt);
/****************************************************************************/