mm/memory_hotplug.c: remove unused local zone_type from __remove_zone()
authorJohn Hubbard <jhubbard@nvidia.com>
Mon, 10 Jul 2017 22:49:41 +0000 (15:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 10 Jul 2017 23:32:32 +0000 (16:32 -0700)
commita52149f129bd161818fd7a0b6450aaa30a2cbd77
tree500e355250989f550b7fdb212a400fa137379ebb
parentd09b6468824d9e41dc30708475f954e455cf7146
mm/memory_hotplug.c: remove unused local zone_type from __remove_zone()

__remove_zone() sets up up zone_type, but never uses it for anything.
This does not cause a warning, due to the (necessary) use of
-Wno-unused-but-set-variable.  However, it's noise, so just delete it.

Link: http://lkml.kernel.org/r/20170624043421.24465-2-jhubbard@nvidia.com
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memory_hotplug.c