diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-10-02 13:17:16 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 18:57:14 +0400 |
commit | 07acaf28d21e710bcf1cec91c0cfdb1a7b5e3d65 (patch) | |
tree | 4c3d332089cd67a1f9595c19c6576179726a4621 /fs | |
parent | 609d7fa9565c754428d2520cac2accc9052e1245 (diff) | |
download | linux-07acaf28d21e710bcf1cec91c0cfdb1a7b5e3d65.tar.xz |
[PATCH] Remove NULL check in register_nls()
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nls/nls_base.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nls/nls_base.c b/fs/nls/nls_base.c index 9de6b495f112..b1317ad5ca18 100644 --- 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; |