aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2022-06-27 16:59:43 -0400
committerAlexandre Belloni <[email protected]>2022-07-26 16:31:15 +0200
commit03d7a732815069a78c8c655092e48fcdd52734fb (patch)
treea1ce262a0666a3b23b7ff9a28f8b95436ded758f /lib/mpi/mpi-cmp.c
parentbb42b7e9e30e7a07b7cb6790a22dc758b0dc123e (diff)
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 <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions