my_sprintf() is not used, remove it. Signed-off-by: Daniel Wagner <dwagner@xxxxxxx> --- v2: - removed unrelated change src/sched_deadline/cyclicdeadline.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/sched_deadline/cyclicdeadline.c b/src/sched_deadline/cyclicdeadline.c index a6309ded3c52..e0db9669f676 100644 --- a/src/sched_deadline/cyclicdeadline.c +++ b/src/sched_deadline/cyclicdeadline.c @@ -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; -- 2.29.2