The patch titled Subject: mm/memory_hotplug.c: remove unneeded return for void function has been added to the -mm tree. Its filename is mm-hotplug-remove-unneeded-return-for-void-function.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/mm-hotplug-remove-unneeded-return-for-void-function.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/mm-hotplug-remove-unneeded-return-for-void-function.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ 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 mm-hotplug-remove-unneeded-return-for-void-function.patch