From patchwork Mon Dec 16 18:42:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hemminger X-Patchwork-Id: 301804 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 E0A6C2C009D for ; Tue, 17 Dec 2013 06:40:53 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755568Ab3LPTku (ORCPT ); Mon, 16 Dec 2013 14:40:50 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:48806 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755540Ab3LPTka (ORCPT ); Mon, 16 Dec 2013 14:40:30 -0500 Received: by mail-pa0-f46.google.com with SMTP id kl14so3374553pab.19 for ; Mon, 16 Dec 2013 11:40:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=X2LUidTDFpDmaPyP//RdNlavTIFo6z2MdNbvcm69GcM=; b=AINYqZGCgKhZ5Q4vS9OxOT0zINprtNvSm5WIdDoTx+ulKkpiWBoS0PMMIT/DDQXebo deG+ctAEdp+S3xWTZE+zEEg6yeLIEf6zJcEmpiTVfXo1xa81PZj4nKHR5GjSPd1eLkwS lDBz+JAtv8FF6aPT1VJJw3+Cb6VZGlOd9JlvHOEIhGNmn/YjcDJQUOmPKErpZJMUyyg2 i93YgMmv1FXrdR/PyGi8/oS3ShL79t4nRsYaeqjn8XwEw03kgj22AEfv0LdU1NgtmPix 68lLep8af6Uv/e5X/BZZoGADPouzzL9edfpEja2JCX7s0wPpiyPexRDyV0px8QSWT8fD 1q3w== X-Gm-Message-State: ALoCoQlx6CswJQBUMizzRSpZS2CBnHmE9YL0jrb+AycwFiLbxRnmSlAgq6DW9vZpr/umdqZpIIWs X-Received: by 10.69.18.234 with SMTP id gp10mr21909201pbd.105.1387222829820; Mon, 16 Dec 2013 11:40:29 -0800 (PST) Received: from nehalam.linuxnetplumber.net (static-50-53-83-51.bvtn.or.frontiernet.net. [50.53.83.51]) by mx.google.com with ESMTPSA id ki1sm28392918pbd.1.2013.12.16.11.40.29 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 16 Dec 2013 11:40:29 -0800 (PST) Date: Mon, 16 Dec 2013 10:42:14 -0800 From: Stephen Hemminger To: Jay Vosburgh , Veaceslav Falico , Andy Gospodarek Cc: David Miller , netdev@vger.kernel.org Subject: [PATCH net-next 6/10] bonding: make local function static Message-ID: <20131216104214.68f8d6fe@nehalam.linuxnetplumber.net> In-Reply-To: <20131216103606.62524131@nehalam.linuxnetplumber.net> References: <20131216103606.62524131@nehalam.linuxnetplumber.net> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Stephen Hemminger --- 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 --- a/drivers/net/bonding/bond_main.c 2013-12-14 11:18:15.297586790 -0800 +++ b/drivers/net/bonding/bond_main.c 2013-12-15 10:25:04.445785839 -0800 @@ -3511,7 +3511,7 @@ unwind: * it fails, it tries to find the first available slave for transmission. * The skb is consumed in all cases, thus the function is void. */ -void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id) +static void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id) { struct list_head *iter; struct slave *slave; --- a/drivers/net/bonding/bonding.h 2013-12-14 11:18:15.301586736 -0800 +++ b/drivers/net/bonding/bonding.h 2013-12-15 10:25:04.445785839 -0800 @@ -417,7 +417,6 @@ struct bond_net; int bond_arp_rcv(const struct sk_buff *skb, struct bonding *bond, struct slave *slave); int bond_dev_queue_xmit(struct bonding *bond, struct sk_buff *skb, struct net_device *slave_dev); -void bond_xmit_slave_id(struct bonding *bond, struct sk_buff *skb, int slave_id); int bond_create(struct net *net, const char *name); int bond_create_sysfs(struct bond_net *net); void bond_destroy_sysfs(struct bond_net *net);