summaryrefslogtreecommitdiffstats
path: root/drivers/net/bonding/bond_main.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-24 18:23:17 +0200
committerJeff Garzik <jeff@garzik.org>2007-10-25 03:31:14 -0400
commitc50b85d0fbca0a2017b8c0b1e2aeb650724c0a71 (patch)
tree56280c8d0b93de5fac938279c82de5af5e005020 /drivers/net/bonding/bond_main.c
parent96fd74b2d9b59edeed7ea1287d322b7661d549ca (diff)
downloadblackbird-op-linux-c50b85d0fbca0a2017b8c0b1e2aeb650724c0a71.tar.gz
blackbird-op-linux-c50b85d0fbca0a2017b8c0b1e2aeb650724c0a71.zip
make bonding/bond_main.c:bond_deinit() static
bond_deinit() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r--drivers/net/bonding/bond_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 6909becb10f6..e5fab4be3982 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -188,6 +188,7 @@ struct bond_parm_tbl arp_validate_tbl[] = {
/*-------------------------- Forward declarations ---------------------------*/
static void bond_send_gratuitous_arp(struct bonding *bond);
+static void bond_deinit(struct net_device *bond_dev);
/*---------------------------- General routines -----------------------------*/
@@ -4449,7 +4450,7 @@ static int bond_init(struct net_device *bond_dev, struct bond_params *params)
/* De-initialize device specific data.
* Caller must hold rtnl_lock.
*/
-void bond_deinit(struct net_device *bond_dev)
+static void bond_deinit(struct net_device *bond_dev)
{
struct bonding *bond = bond_dev->priv;
OpenPOWER on IntegriCloud