Commit 45acb8db authored by Alexey Dobriyan's avatar Alexey Dobriyan

proc: remove now unneeded ADDBUF macro

After local seq_file conversion it was forgotten.
Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
parent 47830723
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment