diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2008-02-08 07:21:09 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-08 12:22:37 -0500 |
commit | 6d141c3ff6d74cc30cdbf26155842756ac16cf7f (patch) | |
tree | 55c20a99ba64aa48ebc17d1df61e9c7e7a5dd0cc /kernel | |
parent | ae161068756c203ccbeeb9178f4d4f6665d294cf (diff) |
workqueue: make delayed_work_timer_fn() static
delayed_work_timer_fn() is a timer function, make it static.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/workqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 3f168e00ce5b..ff06611655af 100644 --- a/kernel/workqueue.c +++ b/kernel/workqueue.c | |||
@@ -175,7 +175,7 @@ int queue_work(struct workqueue_struct *wq, struct work_struct *work) | |||
175 | } | 175 | } |
176 | EXPORT_SYMBOL_GPL(queue_work); | 176 | EXPORT_SYMBOL_GPL(queue_work); |
177 | 177 | ||
178 | void delayed_work_timer_fn(unsigned long __data) | 178 | static void delayed_work_timer_fn(unsigned long __data) |
179 | { | 179 | { |
180 | struct delayed_work *dwork = (struct delayed_work *)__data; | 180 | struct delayed_work *dwork = (struct delayed_work *)__data; |
181 | struct cpu_workqueue_struct *cwq = get_wq_data(&dwork->work); | 181 | struct cpu_workqueue_struct *cwq = get_wq_data(&dwork->work); |