serial: 8250_dw: Don't use UPF_FIXED_TYPE
[linux/fpc-iii.git] / tools / perf / ui / progress.c
blob3ec695607a4d074f844f4922805d52556b2ec645
1 #include "../cache.h"
2 #include "progress.h"
4 static void nop_progress_update(u64 curr __maybe_unused,
5 u64 total __maybe_unused,
6 const char *title __maybe_unused)
10 static struct ui_progress default_progress_fns =
12 .update = nop_progress_update,
15 struct ui_progress *progress_fns = &default_progress_fns;
17 void ui_progress__update(u64 curr, u64 total, const char *title)
19 return progress_fns->update(curr, total, title);
22 void ui_progress__finish(void)
24 if (progress_fns->finish)
25 progress_fns->finish();