Zhang Yanfei c2c1b089b4 fs/proc/vmcore.c: put if tests in the top of the while loop to reduce duplication
In read_vmcore() two `if' tests are duplicated.  Change the position of
them could reduce the duplication.  This change does not affect the
behaviour of the function.

[akpm@linux-foundation.org: avoid `if (foo = bar)' thing, use min_t()]
[akpm@linux-foundation.org: s/max_t/min_t/]
Signed-off-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-02-27 19:10:11 -08:00
..
2013-02-27 19:10:11 -08:00
2013-02-27 19:10:11 -08:00
2013-02-27 19:10:11 -08:00
2013-02-27 19:10:11 -08:00
2009-05-15 15:32:45 +02:00
2007-10-17 08:42:48 -07:00
2013-02-22 23:31:31 -05:00
2013-02-27 19:10:11 -08:00
2013-02-27 19:10:11 -08:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00