lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170626231928.54565-1-richard.weiyang@gmail.com>
Date:   Tue, 27 Jun 2017 07:19:28 +0800
From:   Wei Yang <richard.weiyang@...il.com>
To:     mhocko@...nel.org, akpm@...ux-foundation.org
Cc:     linux-mm@...ck.org, linux-kernel@...r.kernel.org,
        Wei Yang <richard.weiyang@...il.com>
Subject: [PATCH] mm/memory_hotplug: remove an unused variable in move_pfn_range_to_zone()

There is an unused variable in move_pfn_range_to_zone().

This patch just removes it.

Signed-off-by: Wei Yang <richard.weiyang@...il.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ