From patchwork Thu Jan 22 17:25:08 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrill Gorcunov X-Patchwork-Id: 19846 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id A81F4DDEFF for ; Fri, 23 Jan 2009 04:25:16 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753951AbZAVRZM (ORCPT ); Thu, 22 Jan 2009 12:25:12 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753497AbZAVRZK (ORCPT ); Thu, 22 Jan 2009 12:25:10 -0500 Received: from nf-out-0910.google.com ([64.233.182.186]:25968 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753389AbZAVRZJ (ORCPT ); Thu, 22 Jan 2009 12:25:09 -0500 Received: by nf-out-0910.google.com with SMTP id d3so710250nfc.21 for ; Thu, 22 Jan 2009 09:25:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:mime-version:content-type:content-disposition :user-agent; bh=GLSj+GDJgLTd6BIjTwwbbw2Iab3xp5xcLd+3vN2wd/o=; b=fl2mRsw6K4WHwgVeKLJtWB2rgDo6i27uelf2dpz9tPFXbwX9dsN150qyQ+MSVKpCzH u5vnU2w3XtB4UBTSN8prxQMgMPQtBYqRQf+634xM1MnVR7GGNvDTap4P46bLx1lxrz8o v5KyqPP0HtsfqJM5OCyLAYIfM9k6LMBtMloqA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=sO5Iy4D3PqgU/RrYBAEsj1766Urz/vpXkravIqWZYYq1NO7bscKDccuYQPeYBzvSbz H7DD+aumt4uU3aqyLCQ7UeFNgIF79wjx5uJH44TplC/GzS0vaQc5TblBu58JO9pZKdT2 tFIxYRBS5jopnSzvy3bVjP2CxpuQBy4r1Yf6A= Received: by 10.86.95.8 with SMTP id s8mr310391fgb.28.1232645107354; Thu, 22 Jan 2009 09:25:07 -0800 (PST) Received: from gorcunov (95-28-135-21.broadband.corbina.ru [95.28.135.21]) by mx.google.com with ESMTPS id 12sm7073715fgg.56.2009.01.22.09.25.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Jan 2009 09:25:07 -0800 (PST) Received: by gorcunov (Postfix, from userid 1000) id 0D03615EE; Thu, 22 Jan 2009 20:25:08 +0300 (MSK) Date: Thu, 22 Jan 2009 20:25:08 +0300 From: Cyrill Gorcunov To: David Miller Cc: NKML , Pavel Emelyanov Subject: [PATCH net-next-2.6] net: pppoe - get rid of DECLARE_MAC_BUF Message-ID: <20090122172508.GC20140@localhost> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org While was playing with PPP namespaces I occasionally brought back DECLARE_MAC_BUF which is not needed (we have %pM here). Fix it. Signed-off-by: Cyrill Gorcunov --- drivers/net/pppoe.c | 1 - 1 file changed, 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-2.6.git/drivers/net/pppoe.c =================================================================== --- linux-2.6.git.orig/drivers/net/pppoe.c +++ linux-2.6.git/drivers/net/pppoe.c @@ -1004,7 +1004,6 @@ static int pppoe_seq_show(struct seq_fil { struct pppox_sock *po; char *dev_name; - DECLARE_MAC_BUF(mac); if (v == SEQ_START_TOKEN) { seq_puts(seq, "Id Address Device\n");