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 /kernel/acct.c | |
parent | a56704ef6b0c5796c9ff38cc78aa232dfb9644d7 (diff) | |
download | linux-4dd66e69d472f0ba5355a2529364d0db9a18a02b.tar.gz linux-4dd66e69d472f0ba5355a2529364d0db9a18a02b.tar.bz2 linux-4dd66e69d472f0ba5355a2529364d0db9a18a02b.zip |
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 'kernel/acct.c')
-rw-r--r-- | kernel/acct.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/acct.c b/kernel/acct.c index a6605ca921b6..24f8c81fc48d 100644 --- a/kernel/acct.c +++ b/kernel/acct.c @@ -588,16 +588,6 @@ out: } /** - * acct_init_pacct - initialize a new pacct_struct - * @pacct: per-process accounting info struct to initialize - */ -void acct_init_pacct(struct pacct_struct *pacct) -{ - memset(pacct, 0, sizeof(struct pacct_struct)); - pacct->ac_utime = pacct->ac_stime = cputime_zero; -} - -/** * acct_collect - collect accounting information into pacct_struct * @exitcode: task exit code * @group_dead: not 0, if this thread is the last one in the process. |