diff options
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r-- | mm/memory_hotplug.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 2a9bbddb0e55..c73f09913165 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c | |||
@@ -132,7 +132,6 @@ static void release_memory_resource(struct resource *res) | |||
132 | return; | 132 | return; |
133 | release_resource(res); | 133 | release_resource(res); |
134 | kfree(res); | 134 | kfree(res); |
135 | return; | ||
136 | } | 135 | } |
137 | 136 | ||
138 | #ifdef CONFIG_MEMORY_HOTPLUG_SPARSE | 137 | #ifdef CONFIG_MEMORY_HOTPLUG_SPARSE |
@@ -979,7 +978,6 @@ static void rollback_node_hotadd(int nid) | |||
979 | arch_refresh_nodedata(nid, NULL); | 978 | arch_refresh_nodedata(nid, NULL); |
980 | free_percpu(pgdat->per_cpu_nodestats); | 979 | free_percpu(pgdat->per_cpu_nodestats); |
981 | arch_free_nodedata(pgdat); | 980 | arch_free_nodedata(pgdat); |
982 | return; | ||
983 | } | 981 | } |
984 | 982 | ||
985 | 983 | ||