[PATCH] Remove NULL check in register_nls()
[linux.git] / fs / nls / nls_base.c
index 9de6b495f1128c09dd7c7d87767473e0431122cd..b1317ad5ca1851f0ba4954d7bb47bba1bd239213 100644 (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;