[net-next] ppp: make ppp_get_stats64 static

Submitted by stephen hemminger on Oct. 29, 2012, 6:34 p.m.

Details

Message ID 20121029113402.10736805@nehalam.linuxnetplumber.net
State Accepted
Delegated to: David Miller
Headers show

Commit Message

stephen hemminger Oct. 29, 2012, 6:34 p.m.
This was picked up by sparse.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller Nov. 1, 2012, 4:39 p.m.
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Mon, 29 Oct 2012 11:34:02 -0700

> This was picked up by sparse.
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch hide | download patch | download mbox

--- a/drivers/net/ppp/ppp_generic.c	2012-10-25 09:11:13.963289236 -0700
+++ b/drivers/net/ppp/ppp_generic.c	2012-10-29 11:26:06.167077708 -0700
@@ -1034,7 +1034,7 @@  ppp_net_ioctl(struct net_device *dev, st
 	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);