summaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp_generic.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-01-24 05:54:07 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:11:27 +0100
commit3c582b30bc2592081e9b23e253ca098fa7d57dc2 (patch)
tree258f0191bb66aee5de4fb2d19bf71d7c716bee87 /drivers/net/ppp_generic.c
parent[IPV4] fib_trie: remove unneeded NULL check (diff)
downloadlinux-3c582b30bc2592081e9b23e253ca098fa7d57dc2.tar.xz
linux-3c582b30bc2592081e9b23e253ca098fa7d57dc2.zip
[PPP]: Sparse warning fixes.
Fix a bunch of warnings in PPP and related drivers. Mostly because sparse doesn't like it when the the function is only marked private in the forward declaration. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ppp_generic.c')
-rw-r--r--drivers/net/ppp_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c
index 4f690378bb77..4dc5b4b7a561 100644
--- a/drivers/net/ppp_generic.c
+++ b/drivers/net/ppp_generic.c
@@ -1871,7 +1871,7 @@ ppp_mp_insert(struct ppp *ppp, struct sk_buff *skb)
* complete packet, or we get to the sequence number for a fragment
* which hasn't arrived but might still do so.
*/
-struct sk_buff *
+static struct sk_buff *
ppp_mp_reconstruct(struct ppp *ppp)
{
u32 seq = ppp->nextseq;