OSDN Git Service

mm/mmap.c: remove redundant local variables for may_expand_vm()
authorChen Gang <gang.chen.5i5j@gmail.com>
Thu, 14 Jan 2016 23:18:27 +0000 (15:18 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 15 Jan 2016 00:00:49 +0000 (16:00 -0800)
commit0b57d6ba0bd11a41a791cf6c5bbf3b55630dc70f
tree7ef82cb97aa0be9d50269b29098a77e4d12e0451
parentab7a5af7fd9cc38576b432690367bbabc8da99b2
mm/mmap.c: remove redundant local variables for may_expand_vm()

Simplify may_expand_vm().

[akpm@linux-foundation.org: further simplification, per Naoya Horiguchi]
Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c