]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
kexec: Use min() and min_t() to simplify logic
authorZhang Yanfei <zhangyanfei@cn.fujitsu.com>
Tue, 26 Mar 2013 23:25:57 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Apr 2013 07:29:51 +0000 (18:29 +1100)
commit46359691c5e30c9901242e136cc45e158ae9c8cf
treea6b497e89825375ebdf86157151a0697104b526a
parent044af11fce653b55379c9e02d64ecbe53b6ce9a9
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