Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1675189
| From | Wei Yang <richard.weiyang@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] mm/memory_hotplug: remove an unused variable in move_pfn_range_to_zone() |
| Date | 2017-06-27 01:30 +0200 |
| Message-ID | <tWLCa-sR-25@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
There is an unused variable in move_pfn_range_to_zone(). This patch just removes it. Signed-off-by: Wei Yang <richard.weiyang@gmail.com> --- mm/memory_hotplug.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 514014dde16b..16167c92bbf1 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c @@ -899,7 +899,6 @@ void __ref move_pfn_range_to_zone(struct zone *zone, struct pglist_data *pgdat = zone->zone_pgdat; int nid = pgdat->node_id; unsigned long flags; - unsigned long i; if (zone_is_empty(zone)) init_currently_empty_zone(zone, start_pfn, nr_pages); -- 2.11.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] mm/memory_hotplug: remove an unused variable in move_pfn_range_to_zone() Wei Yang <richard.weiyang@gmail.com> - 2017-06-27 01:30 +0200
Re: [PATCH] mm/memory_hotplug: remove an unused variable in move_pfn_range_to_zone() Anshuman Khandual <khandual@linux.vnet.ibm.com> - 2017-06-27 07:00 +0200
Re: [PATCH] mm/memory_hotplug: remove an unused variable in move_pfn_range_to_zone() Michal Hocko <mhocko@kernel.org> - 2017-06-27 07:30 +0200
csiph-web