diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-06 17:58:45 -0400 |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-09 20:18:58 -0400 |
commit | 45acb8db06bad529f0feaf89465ce33152640089 (patch) | |
tree | f6b899d124b70a0a2cb8b760566b8cf883d9abf7 /fs | |
parent | 478307230810d7e2a753ed220db9066dfdf88718 (diff) |
proc: remove now unneeded ADDBUF macro
After local seq_file conversion it was forgotten.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/array.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c index 1c8d7b5d7a14..f4bc0e789539 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c | |||
@@ -86,11 +86,6 @@ | |||
86 | #include <asm/processor.h> | 86 | #include <asm/processor.h> |
87 | #include "internal.h" | 87 | #include "internal.h" |
88 | 88 | ||
89 | /* Gcc optimizes away "strlen(x)" for constant x */ | ||
90 | #define ADDBUF(buffer, string) \ | ||
91 | do { memcpy(buffer, string, strlen(string)); \ | ||
92 | buffer += strlen(string); } while (0) | ||
93 | |||
94 | static inline void task_name(struct seq_file *m, struct task_struct *p) | 89 | static inline void task_name(struct seq_file *m, struct task_struct *p) |
95 | { | 90 | { |
96 | int i; | 91 | int i; |