Skip to contentSkip to conversation

rt-tests: cyclictest: Remove unused 'C' and 'E' options

PATCH In review John Kacur 2 participants 2 messages Oct 4, 2021 – Oct 5, 2021

lore
Share & tools
lore

John Kacur

author
#0 lore raw

PATCH 1/1 rt-tests: cyclictest: Remove unused 'C' and 'E' options

Removing the unused short options 'C' and 'E'.

---
 src/cyclictest/cyclictest.c | 2 --
 1 file changed, 2 deletions(-)
src/cyclictest/cyclictest.c +0 -2
index cbdc6c11ffe3..2187d98de725 100644
@@ -1071,7 +1071,6 @@ static void process_options(int argc, char *argv[], int max_cpus)
 		case 'c':
 		case OPT_CLOCK:
 			clocksel = atoi(optarg); break;
-		case 'C':
 		case OPT_DEFAULT_SYSTEM:
 			power_management = 1; break;
 		case 'd':
@@ -1080,7 +1079,6 @@ static void process_options(int argc, char *argv[], int max_cpus)
 		case 'D':
 		case OPT_DURATION:
 			duration = parse_time_string(optarg); break;
-		case 'E':
 		case 'F':
 		case OPT_FIFO:
 			use_fifo = 1;
Signature · 1 line
2.31.1
#1 lore raw
Quoted 21 lines · John Kacur

Removing the unused short options 'C' and 'E'.

---
 src/cyclictest/cyclictest.c | 2 --
 1 file changed, 2 deletions(-)
src/cyclictest/cyclictest.c +0 -1
index cbdc6c11ffe3..2187d98de725 100644
@@ -1071,7 +1071,6 @@ static void process_options(int argc, char *argv[], int max_cpus)
 		case 'c':
 		case OPT_CLOCK:
 			clocksel = atoi(optarg); break;
-		case 'C':
 		case OPT_DEFAULT_SYSTEM:
 			power_management = 1; break;
 		case 'd':

src/cyclictest/cyclictest.c static void process_options(int argc, char *argv[], int max_cpus) · line 1084

Quoted 7 lines
src/cyclictest/cyclictest.c +0 -1
@@ -1080,7 +1079,6 @@ static void process_options(int argc, char *argv[], int max_cpus)
 		case 'D':
 		case OPT_DURATION:
 			duration = parse_time_string(optarg); break;
-		case 'E':
 		case 'F':
 		case OPT_FIFO:
 			use_fifo = 1;

LGTM.

Thanks for fixing this up.