diff options
author | Drew Fustini <dfustini@baylibre.com> | 2021-11-23 11:25:24 -0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-12-14 10:17:36 +0100 |
commit | 0642fb4ba68f7158f7a6d92190b3090cf0c7fac6 (patch) | |
tree | 9cb92869e81541c47821cb1461f264120920112e /samples | |
parent | 0ed9e4ebcebcb36bd1186e68cf2f72b3e0bfbac6 (diff) | |
download | lwn-0642fb4ba68f7158f7a6d92190b3090cf0c7fac6.tar.gz lwn-0642fb4ba68f7158f7a6d92190b3090cf0c7fac6.zip |
clocksource/drivers/pistachio: Fix -Wunused-but-set-variable warning
Variable 'overflow' set but not used, but this is the intended behavior.
The hardware only updates the counter register after the overflow
register read. However, the value of overflow is not actually needed.
Link: https://lore.kernel.org/lkml/202111200402.afQsussU-lkp@intel.com/
Reported-by: kernel test robot <lkp@intel.com>
Suggested-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Drew Fustini <dfustini@baylibre.com>
Link: https://lore.kernel.org/r/20211123192524.1038304-1-dfustini@baylibre.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions