Skip to content

Commit

Permalink
proc: remove now unneeded ADDBUF macro
Browse files Browse the repository at this point in the history
After local seq_file conversion it was forgotten.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
  • Loading branch information
Alexey Dobriyan committed Oct 10, 2008
1 parent 4783072 commit 45acb8d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fs/proc/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 45acb8d

Please sign in to comment.