diff options
author | Oleg Nesterov <oleg@redhat.com> | 2010-05-26 17:43:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-27 12:12:46 -0400 |
commit | a705be6b5e8b05f2ae51536ec709de921960326c (patch) | |
tree | a4d71651807dabe2dc48bd36cf2e954d7ef967a8 | |
parent | d40e48e02f3785b9342ee4eb3d7cc9f12981b7f5 (diff) |
kill the obsolete thread_group_cputime_free() helper
Kill the empty thread_group_cputime_free() helper. It was needed to free
the per-cpu data which we no longer have.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Veaceslav Falico <vfalico@redhat.com>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r-- | include/linux/sched.h | 4 | ||||
-rw-r--r-- | kernel/fork.c | 1 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 2d1e1a1228ef..dd597d8013a8 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -2393,10 +2393,6 @@ static inline void thread_group_cputime_init(struct signal_struct *sig) | |||
2393 | spin_lock_init(&sig->cputimer.lock); | 2393 | spin_lock_init(&sig->cputimer.lock); |
2394 | } | 2394 | } |
2395 | 2395 | ||
2396 | static inline void thread_group_cputime_free(struct signal_struct *sig) | ||
2397 | { | ||
2398 | } | ||
2399 | |||
2400 | /* | 2396 | /* |
2401 | * Reevaluate whether the task has signals pending delivery. | 2397 | * Reevaluate whether the task has signals pending delivery. |
2402 | * Wake the task if so. | 2398 | * Wake the task if so. |
diff --git a/kernel/fork.c b/kernel/fork.c index e08e3012cd6b..58f8611b1ac6 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -167,7 +167,6 @@ EXPORT_SYMBOL(free_task); | |||
167 | 167 | ||
168 | static inline void free_signal_struct(struct signal_struct *sig) | 168 | static inline void free_signal_struct(struct signal_struct *sig) |
169 | { | 169 | { |
170 | thread_group_cputime_free(sig); | ||
171 | kmem_cache_free(signal_cachep, sig); | 170 | kmem_cache_free(signal_cachep, sig); |
172 | } | 171 | } |
173 | 172 | ||