]> git.baikalelectronics.ru Git - kernel.git/commit
kernel/sysctl.c: code cleanups
authorOla N. Kaldestad <mail@okal.no>
Fri, 17 Nov 2017 23:30:26 +0000 (15:30 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Nov 2017 00:10:03 +0000 (16:10 -0800)
commit2b41635e0d809fc2078350b1c8c83b1d24f90716
treeb1c5eddda49e62da3f7b4a1c328be5bdc3a84cc6
parent5a867c0df1e79fff0250c26cf7eb3c9bb7161243
kernel/sysctl.c: code cleanups

Remove unnecessary else block, remove redundant return and call to kfree
in if block.

Link: http://lkml.kernel.org/r/1510238435-1655-1-git-send-email-mail@okal.no
Signed-off-by: Ola N. Kaldestad <mail@okal.no>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/sysctl.c