diff mbox series

[v2] hotplug/memory_hotplug: Remove unused goto label

Message ID 20200729185344.3318703-1-aiden.gaoyuan@gmail.com
State Accepted
Headers show
Series [v2] hotplug/memory_hotplug: Remove unused goto label | expand

Commit Message

Yuan Gao July 29, 2020, 6:53 p.m. UTC
Remove unused goto label in parse_command_line_args function

Change from v1
1. Remove a redundant blank line

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

Comments

Xiao Yang July 30, 2020, 4:01 a.m. UTC | #1
Hi,

I have pushed with this change, so you don't need to send the v2 path.

Thanks,
Xiao Yang
On 2020/7/30 2:53, Yuan Gao wrote:
> Remove unused goto label in parse_command_line_args function
>
> Change from v1
> 1. Remove a redundant blank line
>
> Signed-off-by: Yuan Gao<aiden.gaoyuan@gmail.com>
> ---
>   testcases/kernel/hotplug/memory_hotplug/memtoy.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/testcases/kernel/hotplug/memory_hotplug/memtoy.c b/testcases/kernel/hotplug/memory_hotplug/memtoy.c
> index 8ac9600de..e647f86b6 100644
> --- a/testcases/kernel/hotplug/memory_hotplug/memtoy.c
> +++ b/testcases/kernel/hotplug/memory_hotplug/memtoy.c
> @@ -447,7 +447,6 @@ int parse_command_line_args(int argc, char *argv[])
>   			break;
>   		}
>   	}
> -done:
>
>   	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..e647f86b6 100644
--- a/testcases/kernel/hotplug/memory_hotplug/memtoy.c
+++ b/testcases/kernel/hotplug/memory_hotplug/memtoy.c
@@ -447,7 +447,6 @@  int parse_command_line_args(int argc, char *argv[])
 			break;
 		}
 	}
-done:
 
 	return (error);
 }