projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/nls/nls_base.c
b/fs/nls/nls_base.c
index 9de6b495f1128c09dd7c7d87767473e0431122cd..b1317ad5ca1851f0ba4954d7bb47bba1bd239213 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;