All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clocksource/drivers/timer-ti-dm: Remove an unused field in struct dmtimer
@ 2024-04-30 21:42 Christophe JAILLET
  2024-05-02 10:47 ` Daniel Lezcano
  0 siblings, 1 reply; 2+ messages in thread
From: Christophe JAILLET @ 2024-04-30 21:42 UTC (permalink / raw
  To: Daniel Lezcano, Thomas Gleixner
  Cc: linux-kernel, kernel-janitors, Christophe JAILLET

In "struct dmtimer", the 'rate' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
Compile tested only.
---
 drivers/clocksource/timer-ti-dm.c | 1 -
 1 file changed, 1 deletion(-)

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;
-- 
2.44.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] clocksource/drivers/timer-ti-dm: Remove an unused field in struct dmtimer
  2024-04-30 21:42 [PATCH] clocksource/drivers/timer-ti-dm: Remove an unused field in struct dmtimer Christophe JAILLET
@ 2024-05-02 10:47 ` Daniel Lezcano
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Lezcano @ 2024-05-02 10:47 UTC (permalink / raw
  To: Christophe JAILLET, Thomas Gleixner; +Cc: linux-kernel, kernel-janitors

On 30/04/2024 23:42, Christophe JAILLET wrote:
> In "struct dmtimer", the 'rate' field is unused.
> Remove it.
> 
> Found with cppcheck, unusedStructMember.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---

Applied, thanks

-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-02 10:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-30 21:42 [PATCH] clocksource/drivers/timer-ti-dm: Remove an unused field in struct dmtimer Christophe JAILLET
2024-05-02 10:47 ` Daniel Lezcano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.