]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
clocksource/drivers/timer-ti-dm: Fix warning for set but not used
authorTony Lindgren <tony@atomide.com>
Tue, 19 May 2020 15:51:57 +0000 (08:51 -0700)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 19 May 2020 16:23:50 +0000 (18:23 +0200)
commit6d15120b282e49811a47f2f6d6b749d178be7e99
treea155bfef50c57d3771125a42681d8eb804c2eda0
parentaba1ad05da088944a62eb87fb0cd8391152e8985
clocksource/drivers/timer-ti-dm: Fix warning for set but not used

We can get a warning for dmtimer_clocksource_init() with 'pa' set but
not used. This was used in the earlier revisions of the code but no
longer needed, so let's remove the unused pa and of_translate_address().
Let's also do it for dmtimer_clockevent_init() that has a similar issue.

Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20200519155157.12804-1-tony@atomide.com
drivers/clocksource/timer-ti-dm-systimer.c