lkml.org 
[lkml]   [2018]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip:timers/core] timer_list: Remove unused function pointer typedef
Commit-ID:  ed772ec873cb0d378c0329d266ae656ec1f2b511
Gitweb: https://git.kernel.org/tip/ed772ec873cb0d378c0329d266ae656ec1f2b511
Author: Chen Lin <chen45464546@163.com>
AuthorDate: Fri, 11 May 2018 23:47:29 +0800
Committer: Thomas Gleixner <tglx@linutronix.de>
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 <chen45464546@163.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: sboyd@kernel.org
Cc: john.stultz@linaro.org
Link: https://lkml.kernel.org/r/1526053649-24229-1-git-send-email-chen45464546@163.com
---
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):
\
 
 \ /
  Last update: 2018-05-13 16:02    [W:0.033 / U:6.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site