mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 13:09:04 -04:00
Make unregister_binfmt() return void
list_del() hardly can fail, so checking for return value is pointless (and current code always return 0). Nobody really cared that return value anyway. Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
e4dc1b14d8
commit
f6b450d489
3 changed files with 3 additions and 4 deletions
|
|
@ -73,7 +73,7 @@ struct linux_binfmt {
|
|||
};
|
||||
|
||||
extern int register_binfmt(struct linux_binfmt *);
|
||||
extern int unregister_binfmt(struct linux_binfmt *);
|
||||
extern void unregister_binfmt(struct linux_binfmt *);
|
||||
|
||||
extern int prepare_binprm(struct linux_binprm *);
|
||||
extern int __must_check remove_arg_zero(struct linux_binprm *);
|
||||
|
|
|
|||
Loading…
Reference in a new issue