projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f3a86
)
[PATCH] memhotplug: __add_section remove unused pgdat definition
author
Andy Whitcroft
<apw@shadowen.org>
Fri, 6 Jan 2006 08:10:33 +0000
(
00:10
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:21 +0000
(08:33 -0800)
__add_section defines an unused pointer to the zones pgdat. Remove this
definition. This fixes a compile warning.
Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/memory_hotplug.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/memory_hotplug.c
b/mm/memory_hotplug.c
index f6d4af8af8a8f5a491f837d9bb9c108313ecb7f0..a918f77f02f3bb42bc4b11bab07e20ffd1773c5d 100644
(file)
--- a/
mm/memory_hotplug.c
+++ b/
mm/memory_hotplug.c
@@
-42,7
+42,6
@@
extern int sparse_add_one_section(struct zone *zone, unsigned long start_pfn,
int nr_pages);
static int __add_section(struct zone *zone, unsigned long phys_start_pfn)
{
- struct pglist_data *pgdat = zone->zone_pgdat;
int nr_pages = PAGES_PER_SECTION;
int ret;