From: Eric Dumazet Date: Tue, 13 Dec 2011 20:57:54 +0000 (+0000) Subject: vlan: static functions X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=de93cb2eaffd6d3e44bc738babfac35769d79720;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git vlan: static functions commit 6d4cdf47d2 (vlan: add 802.1q netpoll support) forgot to declare as static some private functions. Signed-off-by: Eric Dumazet CC: Benjamin LaHaise Signed-off-by: David S. Miller --- diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index 039013923a74..9988d4abb372 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;