Skip to contentSkip to conversation

time: remove unused function pointer define

PATCH New Chen Lin 2 participants 2 messages May 11, 2018 – May 13, 2018 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore

Chen Lin

author
#0 lore raw

PATCH 1/1 time: remove unused function pointer define

remove 'printf_fn_t' define not used

---
 kernel/time/timer_list.c | 2 --
 1 file changed, 2 deletions(-)
kernel/time/timer_list.c +0 -2
index 0ed768b..ddc1d58 100644
@@ -28,8 +28,6 @@ struct timer_list_iter {
 	u64 now;
 };
 
-typedef void (*print_fn_t)(struct seq_file *m, unsigned int *classes);
-
 /*
  * This allows printing both to /proc/timer_list and
  * to the console (on SysRq-Q):
Signature · 1 line
2.7.4
#1 lore raw

[tip:timers/core] timer_list: Remove unused function pointer typedef

timer_list: Remove unused function pointer typedef
Commit-ID:  ed772ec873cb0d378c0329d266ae656ec1f2b511
Gitweb:     https://git.kernel.org/tip/ed772ec873cb0d378c0329d266ae656ec1f2b511
Author:     Chen Lin <[email protected]>
AuthorDate: Fri, 11 May 2018 23:47:29 +0800
Committer:  Thomas Gleixner <[email protected]>
CommitDate: Sun, 13 May 2018 15:56:01 +0200

timer_list: Remove unused function pointer typedef

Remove the 'printf_fn_t' typedef as it is not used.

---
 kernel/time/timer_list.c | 2 --
 1 file changed, 2 deletions(-)
kernel/time/timer_list.c +0 -2
index 0ed768b56c60..ddc1d58f96c7 100644
@@ -28,8 +28,6 @@ struct timer_list_iter {
 	u64 now;
 };
 
-typedef void (*print_fn_t)(struct seq_file *m, unsigned int *classes);
-
 /*
  * This allows printing both to /proc/timer_list and
  * to the console (on SysRq-Q):