projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
609d7fa
)
[PATCH] Remove NULL check in register_nls()
author
Alexey Dobriyan
<adobriyan@gmail.com>
Mon, 2 Oct 2006 09:17:16 +0000
(
02:17
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:14 +0000
(07:57 -0700)
Everybody passes valid pointer there.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nls/nls_base.c
patch
|
blob
|
history
diff --git
a/fs/nls/nls_base.c
b/fs/nls/nls_base.c
index
9de6b49
..
b1317ad
100644
(file)
--- a/
fs/nls/nls_base.c
+++ b/
fs/nls/nls_base.c
@@
-163,8
+163,6
@@
int register_nls(struct nls_table * nls)
{
struct nls_table ** tmp = &tables;
- if (!nls)
- return -EINVAL;
if (nls->next)
return -EBUSY;