clocksource/drivers/timer-ti-dm: Remove an unused field in struct dmtimer
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 30 Apr 2024 21:42:39 +0000 (23:42 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 10 May 2024 08:41:52 +0000 (10:41 +0200)
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
drivers/clocksource/timer-ti-dm.c

index 56acf26172621ffb96a14af47ccf92d31af15501..b7a34b1a975ec53f4f5d6e9b1b6f8bffbea9b267 100644 (file)
@@ -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;