linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] timer_list: remove useless cast when printing
@ 2017-02-09  7:50 Mars Cheng
  2017-02-10 10:19 ` [tip:timers/core] timer_list: Remove " tip-bot for Mars Cheng
  0 siblings, 1 reply; 2+ messages in thread
From: Mars Cheng @ 2017-02-09  7:50 UTC (permalink / raw)
  To: John Stultz, Thomas Gleixner
  Cc: Matthias Brugger, CC Hwang, Loda Chou, Miles Chen, Jades Shih,
	Yingjoe Chen, My Chuang, linux-kernel, wsd_upstream, Mars Cheng

hrtimer_resolution is already unsigned int, not necessary to cast
it when printing.

Signed-off-by: Mars Cheng <mars.cheng@mediatek.com>
---
 kernel/time/timer_list.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c
index afe6cd1..dbc37e0 100644
--- a/kernel/time/timer_list.c
+++ b/kernel/time/timer_list.c
@@ -127,7 +127,7 @@ static void print_name_offset(struct seq_file *m, void *sym)
 	SEQ_printf(m, "  .base:       %pK\n", base);
 	SEQ_printf(m, "  .index:      %d\n", base->index);
 
-	SEQ_printf(m, "  .resolution: %u nsecs\n", (unsigned) hrtimer_resolution);
+	SEQ_printf(m, "  .resolution: %u nsecs\n", hrtimer_resolution);
 
 	SEQ_printf(m,   "  .get_time:   ");
 	print_name_offset(m, base->get_time);
-- 
1.7.9.5

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

end of thread, other threads:[~2017-02-10 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-09  7:50 [PATCH 1/1] timer_list: remove useless cast when printing Mars Cheng
2017-02-10 10:19 ` [tip:timers/core] timer_list: Remove " tip-bot for Mars Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).