diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-09-13 16:08:34 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-10-06 10:03:03 +0200 |
commit | 66ed28ea096c91834a18ecce26eb56a27473ce57 (patch) | |
tree | 800cae8369a1d58bd01cc26d4cf2b5774bfa36f9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f9d49824c08eae0a77d720aeecc6dcb07dd65771 (diff) |
m68k: sun3: Remove unused vsprintf() return value in prom_printf()
When building with W=1:
arch/m68k/sun3/prom/printf.c: In function ‘prom_printf’:
arch/m68k/sun3/prom/printf.c:28:13: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
28 | int i;
| ^
As the return value of vsprintf() is unused, and serves no practical
purpose here, fix this by removing the variable.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/94a1e61b1651ff05f4a59655d9b8c1ac5338f60c.1694613528.git.geert@linux-m68k.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions