]> Git Repo - linux.git/commit
kexec: return error number directly
authorMinfei Huang <[email protected]>
Tue, 2 Aug 2016 21:05:45 +0000 (14:05 -0700)
committerLinus Torvalds <[email protected]>
Tue, 2 Aug 2016 23:35:24 +0000 (19:35 -0400)
commit4caf9615247aceab56e91df6c0e11892ea55f4f0
tree03c9284494c49c83efb88b3fc8dd63d42e206f0b
parentb06fb415331a7beb841f3d20d0fe60f6f0787dba
kexec: return error number directly

This is a cleanup patch to make kexec more clear to return error number
directly.  The variable result is useless, because there is no other
function's return value assignes to it.  So remove it.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Minfei Huang <[email protected]>
Cc: Dave Young <[email protected]>
Cc: Baoquan He <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Xunlei Pang <[email protected]>
Cc: Atsushi Kumagai <[email protected]>
Cc: Vivek Goyal <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/kexec_core.c
This page took 0.051415 seconds and 4 git commands to generate.