Skip to contentSkip to conversation

selftests: timers: remove unneeded semicolon

PATCH In review Jiapeng Chong 2 participants 2 messages Mar 15, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftests: timers: remove unneeded semicolon

Fix the following coccicheck warnings:

./tools/testing/selftests/timers/inconsistency-check.c:75:2-3: Unneeded semicolon.

---
 tools/testing/selftests/timers/inconsistency-check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/timers/inconsistency-check.c +1 -1
index 022d3ff..e6756d9 100644
@@ -72,7 +72,7 @@ char *clockstring(int clockid)
 		return "CLOCK_BOOTTIME_ALARM";
 	case CLOCK_TAI:
 		return "CLOCK_TAI";
-	};
+	}
 	return "UNKNOWN_CLOCKID";
 }
 
Signature · 1 line
1.8.3.1