aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorLin Ruizhe <[email protected]>2021-04-21 16:42:56 +0800
committerDaniel Lezcano <[email protected]>2021-04-21 13:37:18 +0200
commitd473327f8f53418691cb2944a45da3e9ea51f9bf (patch)
treedf031fc0a10024ac97ac922fd98052e4ebf9c528 /lib/mpi/mpi-sub-ui.c
parentbd5d553653e4151030ad2a94ef39a46b40c75a9b (diff)
thermal/drivers/ti-soc-thermal/bandgap Remove unused variable 'val'
The function ti_bandgap_restore_ctxt() restores the context at resume time. It checks if the sensor has a counter, reads the register but does nothing with the value. The block was probably omitted by the commit b87ea759a4cc. Remove the unused variable as well as the block using it as we can consider it as dead code. Reported-by: Hulk Robot <[email protected]> Fixes: b87ea759a4cc ("staging: omap-thermal: fix context restore function") Signed-off-by: Lin Ruizhe <[email protected]> Reviewed-by: Tony Lindgren <[email protected]> Tested-by: Tony Lindgren <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions