diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2010-03-10 15:23:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 15:52:39 -0800 |
commit | 4dd66e69d472f0ba5355a2529364d0db9a18a02b (patch) | |
tree | b0ea53215bbe61d678090385018de64821eb6831 /include/linux/taskstats_kern.h | |
parent | a56704ef6b0c5796c9ff38cc78aa232dfb9644d7 (diff) | |
download | kernel_samsung_smdk4412-4dd66e69d472f0ba5355a2529364d0db9a18a02b.zip kernel_samsung_smdk4412-4dd66e69d472f0ba5355a2529364d0db9a18a02b.tar.gz kernel_samsung_smdk4412-4dd66e69d472f0ba5355a2529364d0db9a18a02b.tar.bz2 |
copy_signal() cleanup: kill taskstats_tgid_init() and acct_init_pacct()
Kill unused functions taskstats_tgid_init() and acct_init_pacct() because
we don't use them anywhere after using kmem_cache_zalloc() in
copy_signal().
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/taskstats_kern.h')
-rw-r--r-- | include/linux/taskstats_kern.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/taskstats_kern.h b/include/linux/taskstats_kern.h index 3398f45..b6523c1 100644 --- a/include/linux/taskstats_kern.h +++ b/include/linux/taskstats_kern.h @@ -14,11 +14,6 @@ extern struct kmem_cache *taskstats_cache; extern struct mutex taskstats_exit_mutex; -static inline void taskstats_tgid_init(struct signal_struct *sig) -{ - sig->stats = NULL; -} - static inline void taskstats_tgid_free(struct signal_struct *sig) { if (sig->stats) @@ -30,8 +25,6 @@ extern void taskstats_init_early(void); #else static inline void taskstats_exit(struct task_struct *tsk, int group_dead) {} -static inline void taskstats_tgid_init(struct signal_struct *sig) -{} static inline void taskstats_tgid_free(struct signal_struct *sig) {} static inline void taskstats_init_early(void) |