From: David Woodhouse Date: Fri, 2 Jun 2006 23:25:50 +0000 (+0100) Subject: [JFFS2] Remove stray __exit from jffs2_compressors_exit() X-Git-Tag: v2.6.18-rc1~1105^2~14 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bcc86f507f5a0b6f5bfa312f37ec33711558acb;p=linux-2.6 [JFFS2] Remove stray __exit from jffs2_compressors_exit() It's used from the initfunc in case of failure too. We could actually do with an '__initexit' for this kind of thing -- when built in to the kernel, it could do with being dropped with the init text. We _could_ actually just use __init for it, but that would break if/when we start dropping init text from modules. So let's just leave it as it was for now, and mutter a little more about random 'janitorial' fixes from people who aren't paying attention to what they're doing. Signed-off-by: David Woodhouse --- diff --git a/fs/jffs2/compr.c b/fs/jffs2/compr.c index 5f45e01d71..7001ba26c0 100644 --- a/fs/jffs2/compr.c +++ b/fs/jffs2/compr.c @@ -440,7 +440,7 @@ int __init jffs2_compressors_init(void) return 0; } -int __exit jffs2_compressors_exit(void) +int jffs2_compressors_exit(void) { /* Unregistering compressors */ #ifdef CONFIG_JFFS2_RUBIN