]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ppp: make ppp_get_stats64 static
authorstephen hemminger <shemminger@vyatta.com>
Mon, 29 Oct 2012 08:34:02 +0000 (08:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Nov 2012 16:38:31 +0000 (12:38 -0400)
This was picked up by sparse.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/ppp_generic.c

index eb3f5cefeba3c6ddcbd53a44cb63a759d9b803ef..0b2706abe3e3b06dbd158eff440d8c2ccc4fb50b 100644 (file)
@@ -1034,7 +1034,7 @@ ppp_net_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
        return err;
 }
 
-struct rtnl_link_stats64*
+static struct rtnl_link_stats64*
 ppp_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats64)
 {
        struct ppp *ppp = netdev_priv(dev);