Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

proc: remove now unneeded ADDBUF macro

After local seq_file conversion it was forgotten.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>

-5
-5
fs/proc/array.c
··· 86 86 #include <asm/processor.h> 87 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 89 static inline void task_name(struct seq_file *m, struct task_struct *p) 95 90 { 96 91 int i;