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

Yuan Gao aiden.gaoyuan@gmail.com
Wed Jul 29 20:53:44 CEST 2020


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);
 }
-- 
2.28.0.rc0.142.g3c755180ce-goog



More information about the ltp mailing list