projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb4357
)
timer_list: Remove useless cast when printing
author
Mars Cheng
<
[email protected]
>
Thu, 9 Feb 2017 07:50:15 +0000
(15:50 +0800)
committer
Thomas Gleixner
<
[email protected]
>
Fri, 10 Feb 2017 10:15:08 +0000
(11:15 +0100)
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]
>
kernel/time/timer_list.c
patch
|
blob
|
history
diff --git
a/kernel/time/timer_list.c
b/kernel/time/timer_list.c
index 387a3a5aa3888a268ef5be8b2816f8d6b6832d21..ff8d5c13d04bd0911c62584b6f2764b7a27cb89a 100644
(file)
--- a/
kernel/time/timer_list.c
+++ b/
kernel/time/timer_list.c
@@
-117,7
+117,7
@@
print_base(struct seq_file *m, struct hrtimer_clock_base *base, u64 now)
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);