diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-09-13 17:08:20 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2023-10-06 11:03:03 +0300 |
commit | 4dae1950b494e5d75aaadc882a9276055d769887 (patch) | |
tree | 2e802ca7231c94b8d72e1d40161c6a29832de739 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f5d1d6d25845e901a6c347ce841b73f9f257f4a9 (diff) | |
download | linux-4dae1950b494e5d75aaadc882a9276055d769887.tar.xz |
m68k: mac: Remove unused yday in unmktime()
When building with W=1:
arch/m68k/mac/misc.c: In function ‘unmktime’:
arch/m68k/mac/misc.c:557:33: warning: variable ‘yday’ set but not used [-Wunused-but-set-variable]
557 | int days, rem, y, wday, yday;
| ^~~~
Fix this by removing the unused variable and assignment.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/b25c42eac8beb0862f1b2041e817cb421ec66b4e.1694613528.git.geert@linux-m68k.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions