[PATCH] remove redundant NULL check before before kfree() in kernel/sysctl.c

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Jesper Juhl and committed by Linus Torvalds 5a6b454f 486fd404

+1 -2
+1 -2
kernel/sysctl.c
··· 1000 1000 int error = parse_table(name, nlen, oldval, oldlenp, 1001 1001 newval, newlen, head->ctl_table, 1002 1002 &context); 1003 - if (context) 1004 - kfree(context); 1003 + kfree(context); 1005 1004 if (error != -ENOTDIR) 1006 1005 return error; 1007 1006 tmp = tmp->next;