VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Alexey Dobriyan <adobriyan@gmail.com> 2006-10-02 02:17:16 -0700 committer: Linus Torvalds <torvalds@g5.osdl.org> 2006-10-02 07:57:14 -0700 commit: 07acaf28d21e710bcf1cec91c0cfdb1a7b5e3d65 parent: 609d7fa9565c754428d2520cac2accc9052e1245
Commit Summary:
[PATCH] Remove NULL check in register_nls()
Diffstat:
1 file 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;