Commit 07acaf28 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds
Browse files

[PATCH] Remove NULL check in register_nls()

Everybody passes valid pointer there.
Signed-off-by: default avatarAlexey Dobriyan <>
Acked-by: default avatarOGAWA Hirofumi <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 609d7fa9
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment