[LTP] [PATCH] hotplug/memory_hotplug: Remove unused goto label

Xiao Yang ice_yangxiao@163.com
Wed Jul 29 15:05:08 CEST 2020


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);
>   }



More information about the ltp mailing list