summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2024-04-30 23:42:39 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-05-10 10:41:52 +0200
commite6f8bed209d5fa8602cda45930b0a331234d95ed (patch)
treedcb078cd259338d1e6b9ae937fd86b228df23b5e
parent37385c0772a4fc6b89605b9701fa934fa2beb2cc (diff)
clocksource/drivers/timer-ti-dm: Remove an unused field in struct dmtimer
In "struct dmtimer", the 'rate' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/c9f7579922c587fce334a1aa9651f3189de7a00b.1714513336.git.christophe.jaillet@wanadoo.fr
-rw-r--r--drivers/clocksource/timer-ti-dm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-ti-dm.c b/drivers/clocksource/timer-ti-dm.c
index 56acf2617262..b7a34b1a975e 100644
--- a/drivers/clocksource/timer-ti-dm.c
+++ b/drivers/clocksource/timer-ti-dm.c
@@ -129,7 +129,6 @@ struct dmtimer {
void __iomem *func_base; /* function register base */
atomic_t enabled;
- unsigned long rate;
unsigned reserved:1;
unsigned posted:1;
unsigned omap1:1;