proc: remove unused ADDBUF()
Subsystems (2)
PATCH 1/1 proc: remove unused ADDBUF()
ADDBUF() macro is not used anymore.
Signed-off-by Akinobu Mita <[email protected]>
Cc Alexander Viro <[email protected]>
--- fs/proc/array.c | 5 ----- 1 file changed, 5 deletions(-)
fs/proc/array.c +0 -5
@@ -86,11 +86,6 @@#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;