Skip to contentSkip to conversation

selftests/timers: remove unneeded semicolon

PATCH New Jiapeng Chong 1 participant 1 message Feb 25, 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/nsleep-lat.c:75:2-3: Unneeded semicolon.

---
 tools/testing/selftests/timers/nsleep-lat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/timers/nsleep-lat.c +1 -1
index eb3e79e..a7ca982 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