projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
futex: Clean up stale comments
[linux-2.6-microblaze.git]
/
fs
/
exec.c
diff --git
a/fs/exec.c
b/fs/exec.c
index
f2bcdbe
..
38f6345
100644
(file)
--- a/
fs/exec.c
+++ b/
fs/exec.c
@@
-84,9
+84,6
@@
static DEFINE_RWLOCK(binfmt_lock);
void __register_binfmt(struct linux_binfmt * fmt, int insert)
{
- BUG_ON(!fmt);
- if (WARN_ON(!fmt->load_binary))
- return;
write_lock(&binfmt_lock);
insert ? list_add(&fmt->lh, &formats) :
list_add_tail(&fmt->lh, &formats);