[merged] mm-hotplug-remove-unneeded-return-for-void-function.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm/memory_hotplug.c: remove unneeded return for void function
has been removed from the -mm tree.  Its filename was
     mm-hotplug-remove-unneeded-return-for-void-function.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Weitao Hou <houweitaoo@xxxxxxxxx>
Subject: mm/memory_hotplug.c: remove unneeded return for void function

return is unneeded in void function

Link: http://lkml.kernel.org/r/20190723130814.21826-1-houweitaoo@xxxxxxxxx
Signed-off-by: Weitao Hou <houweitaoo@xxxxxxxxx>
Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>
Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/memory_hotplug.c |    2 --
 1 file changed, 2 deletions(-)

--- a/mm/memory_hotplug.c~mm-hotplug-remove-unneeded-return-for-void-function
+++ a/mm/memory_hotplug.c
@@ -132,7 +132,6 @@ static void release_memory_resource(stru
 		return;
 	release_resource(res);
 	kfree(res);
-	return;
 }
 
 #ifdef CONFIG_MEMORY_HOTPLUG_SPARSE
@@ -979,7 +978,6 @@ static void rollback_node_hotadd(int nid
 	arch_refresh_nodedata(nid, NULL);
 	free_percpu(pgdat->per_cpu_nodestats);
 	arch_free_nodedata(pgdat);
-	return;
 }
 
 
_

Patches currently in -mm which might be from houweitaoo@xxxxxxxxx are





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux