Commit a534ea30 authored by YueHaibing's avatar YueHaibing Committed by David S. Miller

net: isdn: Make isdn_ppp_mp_discard and isdn_ppp_mp_reassembly static

Fix sparse warnings:

drivers/isdn/i4l/isdn_ppp.c:1891:16: warning:
 symbol 'isdn_ppp_mp_discard' was not declared. Should it be static?
drivers/isdn/i4l/isdn_ppp.c:1903:6: warning:
 symbol 'isdn_ppp_mp_reassembly' was not declared. Should it be static?
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 881d7afd
...@@ -1888,8 +1888,9 @@ static u32 isdn_ppp_mp_get_seq(int short_seq, ...@@ -1888,8 +1888,9 @@ static u32 isdn_ppp_mp_get_seq(int short_seq,
return seq; return seq;
} }
struct sk_buff *isdn_ppp_mp_discard(ippp_bundle *mp, static struct sk_buff *isdn_ppp_mp_discard(ippp_bundle *mp,
struct sk_buff *from, struct sk_buff *to) struct sk_buff *from,
struct sk_buff *to)
{ {
if (from) if (from)
while (from != to) { while (from != to) {
...@@ -1900,8 +1901,8 @@ struct sk_buff *isdn_ppp_mp_discard(ippp_bundle *mp, ...@@ -1900,8 +1901,8 @@ struct sk_buff *isdn_ppp_mp_discard(ippp_bundle *mp,
return from; return from;
} }
void isdn_ppp_mp_reassembly(isdn_net_dev *net_dev, isdn_net_local *lp, static void isdn_ppp_mp_reassembly(isdn_net_dev *net_dev, isdn_net_local *lp,
struct sk_buff *from, struct sk_buff *to) struct sk_buff *from, struct sk_buff *to)
{ {
ippp_bundle *mp = net_dev->pb; ippp_bundle *mp = net_dev->pb;
int proto; int proto;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment