From 52f3a15c3429664f909afa0108fb8e50bc45f878 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Tue, 7 Oct 2008 01:58:45 +0400 Subject: [PATCH] --- yaml --- r: 113677 b: refs/heads/master c: 45acb8db06bad529f0feaf89465ce33152640089 h: refs/heads/master i: 113675: 26c5e3a8a97730bb9df11ea1a434a020974cc86c v: v3 --- [refs] | 2 +- trunk/fs/proc/array.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/[refs] b/[refs] index 336701bd2517..f2b79b9be60a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 478307230810d7e2a753ed220db9066dfdf88718 +refs/heads/master: 45acb8db06bad529f0feaf89465ce33152640089 diff --git a/trunk/fs/proc/array.c b/trunk/fs/proc/array.c index 1c8d7b5d7a14..f4bc0e789539 100644 --- a/trunk/fs/proc/array.c +++ b/trunk/fs/proc/array.c @@ -86,11 +86,6 @@ #include #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;