mm/memblock.c: remove unnecessary memblock_type variable
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Tue, 15 Mar 2016 21:57:42 +0000 (14:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Mar 2016 23:55:16 +0000 (16:55 -0700)
commit5aa174801fc85b4b48a2520b2a50ee78990b7925
treea12ca38ca2fbe65d554e7dc31c4fb0a2a610cdf5
parenta75e1f637cf137f82cf025321e7a53adeeed7029
mm/memblock.c: remove unnecessary memblock_type variable

We define struct memblock_type *type in the memblock_add_region() and
memblock_reserve_region() functions only for passing it to the
memlock_add_range() and memblock_reserve_range() functions.  Let's
remove these variables and will pass a type directly.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memblock.c