Skip to content

Commit 3bcc86f

Browse files
committed
[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 <dwmw2@infradead.org>
1 parent e9482b4 commit 3bcc86f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/jffs2/compr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ int __init jffs2_compressors_init(void)
440440
return 0;
441441
}
442442

443-
int __exit jffs2_compressors_exit(void)
443+
int jffs2_compressors_exit(void)
444444
{
445445
/* Unregistering compressors */
446446
#ifdef CONFIG_JFFS2_RUBIN

0 commit comments

Comments
 (0)