Messages in this thread Patch in this message | | | Date | Tue, 15 Aug 2006 22:44:53 +0400 | From | Alexey Dobriyan <> | Subject | [PATCH] Remove NULL check in register_nls() |
| |
Everybody passes valid pointer there.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> ---
fs/nls/nls_base.c | 2 -- 1 file changed, 2 deletions(-)
--- 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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |