Skip to content

Commit 7551b02

Browse files
marscheng71KAGA-KOKO
authored andcommitted
timer_list: Remove useless cast when printing
hrtimer_resolution is already unsigned int, not necessary to cast it when printing. Signed-off-by: Mars Cheng <[email protected]> Cc: CC Hwang <[email protected]> Cc: [email protected] Cc: Loda Chou <[email protected]> Cc: Jades Shih <[email protected]> Cc: Miles Chen <[email protected]> Cc: John Stultz <[email protected]> Cc: My Chuang <[email protected]> Cc: Matthias Brugger <[email protected]> Cc: Yingjoe Chen <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
1 parent dfb4357 commit 7551b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/time/timer_list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now)
117117
SEQ_printf(m, " .base: %pK\n", base);
118118
SEQ_printf(m, " .index: %d\n", base->index);
119119

120-
SEQ_printf(m, " .resolution: %u nsecs\n", (unsigned) hrtimer_resolution);
120+
SEQ_printf(m, " .resolution: %u nsecs\n", hrtimer_resolution);
121121

122122
SEQ_printf(m, " .get_time: ");
123123
print_name_offset(m, base->get_time);

0 commit comments

Comments
 (0)