Skip to content

Commit 45acb8d

Browse files
author
Alexey Dobriyan
committed
proc: remove now unneeded ADDBUF macro
After local seq_file conversion it was forgotten. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
1 parent 4783072 commit 45acb8d

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎fs/proc/array.c‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@
8686
#include <asm/processor.h>
8787
#include "internal.h"
8888

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-
9489
static inline void task_name(struct seq_file *m, struct task_struct *p)
9590
{
9691
int i;

0 commit comments

Comments
 (0)