From patchwork Wed Dec 14 06:57:54 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Dumazet X-Patchwork-Id: 131315 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.180.67]) by ozlabs.org (Postfix) with ESMTP id 3CC7F1007D3 for ; Wed, 14 Dec 2011 17:58:08 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752907Ab1LNG6B (ORCPT ); Wed, 14 Dec 2011 01:58:01 -0500 Received: from mail-ww0-f42.google.com ([74.125.82.42]:42938 "EHLO mail-ww0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752726Ab1LNG6A (ORCPT ); Wed, 14 Dec 2011 01:58:00 -0500 Received: by wgbds13 with SMTP id ds13so834372wgb.1 for ; Tue, 13 Dec 2011 22:57:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:subject:from:to:cc:date:content-type:x-mailer :content-transfer-encoding:mime-version; bh=IBJp7ruZVV+YYmaISzwE1jOAKAiIkqh7LK+GeUMkCK8=; b=gfzUJXU5wOiZ7+r5kxjOYnppO9WZQf/fxPhxBa1OBZg7C2OjO/a37UozQoMPIHRdZI 14DDsjR3Q/RPQXH/5Zpk7CzOzGa9l5JAPcEyJyGJpMYslPrfFiejUFB3tzgYLOxE8ZOr 2uv0ARpQROAKtHGDMzoUAA/YnfhadzkSxW07A= Received: by 10.180.88.106 with SMTP id bf10mr2417256wib.25.1323845879388; Tue, 13 Dec 2011 22:57:59 -0800 (PST) Received: from [10.170.237.5] ([87.255.129.107]) by mx.google.com with ESMTPS id ei9sm2096101wid.0.2011.12.13.22.57.56 (version=SSLv3 cipher=OTHER); Tue, 13 Dec 2011 22:57:57 -0800 (PST) Message-ID: <1323845874.2846.22.camel@edumazet-laptop> Subject: [PATCH net-next] vlan: static functions From: Eric Dumazet To: David Miller Cc: netdev , Benjamin LaHaise Date: Wed, 14 Dec 2011 07:57:54 +0100 X-Mailer: Evolution 3.2.1- Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org commit 6d4cdf47d2 (vlan: add 802.1q netpoll support) forgot to declare as static some private functions. Signed-off-by: Eric Dumazet CC: Benjamin LaHaise --- net/8021q/vlan_dev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 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 diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index 0390139..9988d4a 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c @@ -664,12 +664,12 @@ static struct rtnl_link_stats64 *vlan_dev_get_stats64(struct net_device *dev, st } #ifdef CONFIG_NET_POLL_CONTROLLER -void vlan_dev_poll_controller(struct net_device *dev) +static void vlan_dev_poll_controller(struct net_device *dev) { return; } -int vlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *npinfo) +static int vlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *npinfo) { struct vlan_dev_priv *info = vlan_dev_priv(dev); struct net_device *real_dev = info->real_dev; @@ -696,7 +696,7 @@ out: return err; } -void vlan_dev_netpoll_cleanup(struct net_device *dev) +static void vlan_dev_netpoll_cleanup(struct net_device *dev) { struct vlan_dev_priv *info = vlan_dev_priv(dev); struct netpoll *netpoll = info->netpoll;