]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
proc: remove now unneeded ADDBUF macro
authorAlexey Dobriyan <adobriyan@gmail.com>
Mon, 6 Oct 2008 21:58:45 +0000 (01:58 +0400)
committerAlexey Dobriyan <adobriyan@gmail.com>
Fri, 10 Oct 2008 00:18:58 +0000 (04:18 +0400)
After local seq_file conversion it was forgotten.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
fs/proc/array.c

index 1c8d7b5d7a142b3e3bfc52f3eb271d7a212aa72c..f4bc0e789539f413e080324ab8209575ba349c42 100644 (file)
 #include <asm/processor.h>
 #include "internal.h"
 
-/* Gcc optimizes away "strlen(x)" for constant x */
-#define ADDBUF(buffer, string) \
-do { memcpy(buffer, string, strlen(string)); \
-     buffer += strlen(string); } while (0)
-
 static inline void task_name(struct seq_file *m, struct task_struct *p)
 {
        int i;