[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>
This commit is contained in:
Alexey Dobriyan 2006-10-02 02:17:16 -07:00 committed by Linus Torvalds
parent 609d7fa956
commit 07acaf28d2
1 changed files with 0 additions and 2 deletions

View File

@ -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;