summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2023-09-13 17:08:15 +0300
committerGeert Uytterhoeven <geert@linux-m68k.org>2023-10-06 11:03:02 +0300
commit7509c04afe930573c8f4ab6abda3743c2c184d66 (patch)
tree00c0a0c3ab452f55a107f7db9344583157db1147 /tools/perf/scripts/python/export-to-postgresql.py
parent55775fe94d7ff260a9f63b2e376bab71afebf6ec (diff)
downloadlinux-7509c04afe930573c8f4ab6abda3743c2c184d66.tar.xz
m68k: apollo: Replace set but not used variable by READ_ONCE()
When building with W=1: arch/m68k/apollo/config.c: In function ‘dn_timer_int’: arch/m68k/apollo/config.c:171:32: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] 149 | volatile unsigned char x; | ^ Fix this by using READ_ONCE(), and removing the variable. As READ_ONCE() casts to volatile internally, remove the existing cast. Deduplicate the remaining casts by introducing an intermediary. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/d0299797d6bf747eca2da998c6c6256485a9f52e.1694613528.git.geert@linux-m68k.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions