|
@@ -188,6 +188,7 @@ struct bond_parm_tbl arp_validate_tbl[] = {
|
|
/*-------------------------- Forward declarations ---------------------------*/
|
|
/*-------------------------- Forward declarations ---------------------------*/
|
|
|
|
|
|
static void bond_send_gratuitous_arp(struct bonding *bond);
|
|
static void bond_send_gratuitous_arp(struct bonding *bond);
|
|
|
|
+static void bond_deinit(struct net_device *bond_dev);
|
|
|
|
|
|
/*---------------------------- General routines -----------------------------*/
|
|
/*---------------------------- General routines -----------------------------*/
|
|
|
|
|
|
@@ -4449,7 +4450,7 @@ static int bond_init(struct net_device *bond_dev, struct bond_params *params)
|
|
/* De-initialize device specific data.
|
|
/* De-initialize device specific data.
|
|
* Caller must hold rtnl_lock.
|
|
* 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;
|
|
struct bonding *bond = bond_dev->priv;
|
|
|
|
|