mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Cc: Roland McGrath <[email protected]> Cc: Oleg Nesterov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
a56704ef6b
commit
4dd66e69d4
3 changed files with 0 additions and 19 deletions
|
|
@ -587,16 +587,6 @@ out:
|
|||
revert_creds(orig_cred);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue