2018-05-11 15:50:07

by Chen Lin

[permalink] [raw]
Subject: [PATCH] time: remove unused function pointer define

remove 'printf_fn_t' define not used

Signed-off-by: Chen Lin <[email protected]>
---
kernel/time/timer_list.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c
index 0ed768b..ddc1d58 100644
--- a/kernel/time/timer_list.c
+++ b/kernel/time/timer_list.c
@@ -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):
--
2.7.4




Subject: [tip:timers/core] 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.

Signed-off-by: Chen Lin <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
---
kernel/time/timer_list.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c
index 0ed768b56c60..ddc1d58f96c7 100644
--- a/kernel/time/timer_list.c
+++ b/kernel/time/timer_list.c
@@ -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):