From mboxrd@z Thu Jan 1 00:00:00 1970 From: Akinobu Mita Subject: [PATCH] proc: remove unused ADDBUF() Date: Fri, 15 Aug 2008 16:36:43 +0900 Message-ID: <20080815073643.GA7389@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alexander Viro To: linux-fsdevel@vger.kernel.org Return-path: Received: from wf-out-1314.google.com ([209.85.200.174]:6701 "EHLO wf-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750953AbYHOHgz (ORCPT ); Fri, 15 Aug 2008 03:36:55 -0400 Received: by wf-out-1314.google.com with SMTP id 27so1233591wfd.4 for ; Fri, 15 Aug 2008 00:36:55 -0700 (PDT) Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-ID: ADDBUF() macro is not used anymore. Signed-off-by: Akinobu Mita Cc: Alexander Viro Cc: linux-fsdevel@vger.kernel.org --- fs/proc/array.c | 5 ----- 1 file changed, 5 deletions(-) Index: 2.6-git/fs/proc/array.c =================================================================== --- 2.6-git.orig/fs/proc/array.c +++ 2.6-git/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;