Skip to content

Commit

Permalink
vlan: static functions
Browse files Browse the repository at this point in the history
commit 6d4cdf4 (vlan: add 802.1q netpoll support) forgot to declare
as static some private functions.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Benjamin LaHaise <bcrl@kvack.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Dec 14, 2011
1 parent f9586f7 commit de93cb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/8021q/vlan_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -696,7 +696,7 @@ int vlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *npinfo)
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;
Expand Down

0 comments on commit de93cb2

Please sign in to comment.