diff options
author | Zhang Yanfei <zhangyanfei@cn.fujitsu.com> | 2013-04-30 15:28:23 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 17:04:07 -0700 |
commit | 31c3a3fe0777642816045a8dd1b666f1718851d7 (patch) | |
tree | 09995a2cfce420c77b2403acf1a73d25c99a7a78 /lib/rbtree_test.c | |
parent | 310faaa9b2d075b8fd477550c3d85ccddec76f35 (diff) | |
download | lwn-31c3a3fe0777642816045a8dd1b666f1718851d7.tar.gz lwn-31c3a3fe0777642816045a8dd1b666f1718851d7.zip |
kexec: Use min() and min_t() to simplify logic
Simplify the logic of variable assignments.
[akpm@linux-foundation.org: replace min_t with min, remove unneeded casts]
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib/rbtree_test.c')
0 files changed, 0 insertions, 0 deletions