]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kexec: Use min() and min_t() to simplify logic
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Wed, 20 Mar 2013 04:08:32 +0000 (15:08 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:29 +0000 (16:34 +1100)
commit1efb207252450d53ab0f803de1223944d328d665
treefefc14b348c005a30b247e91dc33ef5a73ecc9e9
parent66a4af61e0ccf090381875784b374bb01de29f5a
kexec: Use min() and min_t() to simplify logic

Simplify the logic of variable assignments.

Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/kexec.c