From: stephen hemminger Date: Mon, 29 Oct 2012 08:34:02 +0000 (+0000) Subject: ppp: make ppp_get_stats64 static X-Git-Tag: firefly_0821_release~3680^2~1480^2~484 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b77bc2069d1e437d5a1a71bb5cfcf4556ee40015;p=firefly-linux-kernel-4.4.55.git ppp: make ppp_get_stats64 static This was picked up by sparse. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/ppp/ppp_generic.c b/drivers/net/ppp/ppp_generic.c index eb3f5cefeba3..0b2706abe3e3 100644 --- a/drivers/net/ppp/ppp_generic.c +++ b/drivers/net/ppp/ppp_generic.c @@ -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);