1
0
Fork 0

[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>
hifive-unleashed-5.1
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;