Skip to contentSkip to conversation

hotplug/memory_hotplug: Remove unused goto label

PATCH Superseded aidengao 2 participants 2 messages Jul 27, 2020 – Jul 29, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

aidengao

author
#0 lore raw

PATCH 1/1 hotplug/memory_hotplug: Remove unused goto label

From: aidengao <[email protected]>

Remove unused goto label in parse_command_line_args function

---
 testcases/kernel/hotplug/memory_hotplug/memtoy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/hotplug/memory_hotplug/memtoy.c +1 -1
index 8ac9600de..90bfd7f2f 100644
@@ -447,7 +447,7 @@ int parse_command_line_args(int argc, char *argv[])
 			break;
 		}
 	}
-done:
+
 
 	return (error);
 }
Signature · 1 line
2.28.0.rc0.142.g3c755180ce-goog
#1 lore raw

PATCH 1/1 hotplug/memory_hotplug: Remove unused goto label

Quoted 14 lines · aidengao

From: aidengao <[email protected]>

Remove unused goto label in parse_command_line_args function

---
  testcases/kernel/hotplug/memory_hotplug/memtoy.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/hotplug/memory_hotplug/memtoy.c +0 -0
index 8ac9600de..90bfd7f2f 100644

testcases/kernel/hotplug/memory_hotplug/memtoy.c int parse_command_line_args(int argc, char *argv[]) · line 451

Quoted 6 lines
testcases/kernel/hotplug/memory_hotplug/memtoy.c +1 -1
@@ -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

Quoted 2 lines
testcases/kernel/hotplug/memory_hotplug/memtoy.c +0 -0
  	return (error);
  }