Skip to contentSkip to conversation

cyclicdeadline: Remove dead code

PATCH New Daniel Wagner 1 participant 1 message Nov 19, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/12 cyclicdeadline: Remove dead code

my_sprintf() is not used, remove it.

---
v2: - removed unrelated change

 src/sched_deadline/cyclicdeadline.c | 13 -------------
 1 file changed, 13 deletions(-)
src/sched_deadline/cyclicdeadline.c +0 -13
index a6309ded3c52..e0db9669f676 100644
@@ -215,19 +215,6 @@ static int my_vsprintf(char *buf, int size, const char *fmt, va_list ap)
 	return s - buf;
 }
 
-#if 0
-static int my_sprintf(char *buf, int size, const char *fmt, ...)
-{
-	va_list ap;
-	int n;
-
-	va_start(ap, fmt);
-	n = vsnprintf(buf, size, fmt, ap);
-	va_end(ap);
-	return n;
-}
-#endif
-
 static void ftrace_write(char *buf, const char *fmt, ...)
 {
 	va_list ap;
Signature · 1 line
2.29.2