diff options
Diffstat (limited to 'fs/exec.c')
-rw-r--r-- | fs/exec.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -81,12 +81,11 @@ int register_binfmt(struct linux_binfmt * fmt) | |||
81 | 81 | ||
82 | EXPORT_SYMBOL(register_binfmt); | 82 | EXPORT_SYMBOL(register_binfmt); |
83 | 83 | ||
84 | int unregister_binfmt(struct linux_binfmt * fmt) | 84 | void unregister_binfmt(struct linux_binfmt * fmt) |
85 | { | 85 | { |
86 | write_lock(&binfmt_lock); | 86 | write_lock(&binfmt_lock); |
87 | list_del(&fmt->lh); | 87 | list_del(&fmt->lh); |
88 | write_unlock(&binfmt_lock); | 88 | write_unlock(&binfmt_lock); |
89 | return 0; | ||
90 | } | 89 | } |
91 | 90 | ||
92 | EXPORT_SYMBOL(unregister_binfmt); | 91 | EXPORT_SYMBOL(unregister_binfmt); |