diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2010-03-10 18:23:02 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 18:52:39 -0500 |
commit | 4dd66e69d472f0ba5355a2529364d0db9a18a02b (patch) | |
tree | b0ea53215bbe61d678090385018de64821eb6831 /include/linux/acct.h | |
parent | a56704ef6b0c5796c9ff38cc78aa232dfb9644d7 (diff) |
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/acct.h')
-rw-r--r-- | include/linux/acct.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/acct.h b/include/linux/acct.h index 882dc7248766..93f46096ad4c 100644 --- a/include/linux/acct.h +++ b/include/linux/acct.h | |||
@@ -123,14 +123,12 @@ struct pacct_struct; | |||
123 | struct pid_namespace; | 123 | struct pid_namespace; |
124 | extern void acct_auto_close_mnt(struct vfsmount *m); | 124 | extern void acct_auto_close_mnt(struct vfsmount *m); |
125 | extern void acct_auto_close(struct super_block *sb); | 125 | extern void acct_auto_close(struct super_block *sb); |
126 | extern void acct_init_pacct(struct pacct_struct *pacct); | ||
127 | extern void acct_collect(long exitcode, int group_dead); | 126 | extern void acct_collect(long exitcode, int group_dead); |
128 | extern void acct_process(void); | 127 | extern void acct_process(void); |
129 | extern void acct_exit_ns(struct pid_namespace *); | 128 | extern void acct_exit_ns(struct pid_namespace *); |
130 | #else | 129 | #else |
131 | #define acct_auto_close_mnt(x) do { } while (0) | 130 | #define acct_auto_close_mnt(x) do { } while (0) |
132 | #define acct_auto_close(x) do { } while (0) | 131 | #define acct_auto_close(x) do { } while (0) |
133 | #define acct_init_pacct(x) do { } while (0) | ||
134 | #define acct_collect(x,y) do { } while (0) | 132 | #define acct_collect(x,y) do { } while (0) |
135 | #define acct_process() do { } while (0) | 133 | #define acct_process() do { } while (0) |
136 | #define acct_exit_ns(ns) do { } while (0) | 134 | #define acct_exit_ns(ns) do { } while (0) |