diff mbox series

hotplug/memory_hotplug: Remove unused goto label

Message ID 20200727164355.1177602-1-aiden.gaoyuan@gmail.com
State Superseded
Headers show
Series hotplug/memory_hotplug: Remove unused goto label | expand

Commit Message

Yuan Gao July 27, 2020, 4:43 p.m. UTC
From: aidengao <aidengao@google.com>

Remove unused goto label in parse_command_line_args function

Signed-off-by: Yuan Gao <aiden.gaoyuan@gmail.com>
---
 testcases/kernel/hotplug/memory_hotplug/memtoy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Xiao Yang July 29, 2020, 1:05 p.m. UTC | #1
On 7/28/20 12:43 AM, aidengao wrote:
> From: aidengao <aidengao@google.com>
>
> Remove unused goto label in parse_command_line_args function
>
> Signed-off-by: Yuan Gao <aiden.gaoyuan@gmail.com>
> ---
>   testcases/kernel/hotplug/memory_hotplug/memtoy.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/testcases/kernel/hotplug/memory_hotplug/memtoy.c b/testcases/kernel/hotplug/memory_hotplug/memtoy.c
> index 8ac9600de..90bfd7f2f 100644
> --- a/testcases/kernel/hotplug/memory_hotplug/memtoy.c
> +++ b/testcases/kernel/hotplug/memory_hotplug/memtoy.c
> @@ -447,7 +447,7 @@ int parse_command_line_args(int argc, char *argv[])
>   			break;
>   		}
>   	}
> -done:
> +
>   

Hi Gao,

Pushed with a minor change(delete a redundant blank line). :-)

Thanks,

Xiao Yang

>   	return (error);
>   }
diff mbox series

Patch

diff --git a/testcases/kernel/hotplug/memory_hotplug/memtoy.c b/testcases/kernel/hotplug/memory_hotplug/memtoy.c
index 8ac9600de..90bfd7f2f 100644
--- a/testcases/kernel/hotplug/memory_hotplug/memtoy.c
+++ b/testcases/kernel/hotplug/memory_hotplug/memtoy.c
@@ -447,7 +447,7 @@  int parse_command_line_args(int argc, char *argv[])
 			break;
 		}
 	}
-done:
+
 
 	return (error);
 }