proc: remove now unneeded ADDBUF macro
After local seq_file conversion it was forgotten. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
This commit is contained in:
parent
4783072308
commit
45acb8db06
|
@ -86,11 +86,6 @@
|
||||||
#include <asm/processor.h>
|
#include <asm/processor.h>
|
||||||
#include "internal.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)
|
static inline void task_name(struct seq_file *m, struct task_struct *p)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
Loading…
Reference in New Issue