diff options
-rw-r--r-- | fs/nls/nls_base.c | 2 |
1 files 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) | |||
163 | { | 163 | { |
164 | struct nls_table ** tmp = &tables; | 164 | struct nls_table ** tmp = &tables; |
165 | 165 | ||
166 | if (!nls) | ||
167 | return -EINVAL; | ||
168 | if (nls->next) | 166 | if (nls->next) |
169 | return -EBUSY; | 167 | return -EBUSY; |
170 | 168 | ||