提交 45acb8db 编写于 作者: A Alexey Dobriyan

proc: remove now unneeded ADDBUF macro

After local seq_file conversion it was forgotten.
Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册