diff options
author | Tom Rix <trix@redhat.com> | 2022-06-27 23:59:43 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2022-07-26 17:31:15 +0300 |
commit | 03d7a732815069a78c8c655092e48fcdd52734fb (patch) | |
tree | a1ce262a0666a3b23b7ff9a28f8b95436ded758f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bb42b7e9e30e7a07b7cb6790a22dc758b0dc123e (diff) | |
download | linux-03d7a732815069a78c8c655092e48fcdd52734fb.tar.xz |
rtc: mpfs: remove 'pending' variable from mpfs_rtc_wakeup_irq_handler()
cppcheck reports
[drivers/rtc/rtc-mpfs.c:219]: (style) Variable 'pending' is assigned a value that is never used.
The fetched CONTROL_REG stored in pending is unused and partially
duplicates the functionality of the later call to mpfs_rtc_clear(). This looks
like leftover development code, so remove pending.
Fixes: 0b31d703598d ("rtc: Add driver for Microchip PolarFire SoC")
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220627205943.2075043-1-trix@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions