Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b30b1c6 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[IPV4]: make two functions static



This patch makes two needlessly global functions static.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9b5b5cff
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1217,7 +1217,7 @@ static int ipgre_tunnel_init(struct net_device *dev)
	return 0;
	return 0;
}
}


int __init ipgre_fb_tunnel_init(struct net_device *dev)
static int __init ipgre_fb_tunnel_init(struct net_device *dev)
{
{
	struct ip_tunnel *tunnel = (struct ip_tunnel*)dev->priv;
	struct ip_tunnel *tunnel = (struct ip_tunnel*)dev->priv;
	struct iphdr *iph = &tunnel->parms.iph;
	struct iphdr *iph = &tunnel->parms.iph;
+1 −1
Original line number Original line Diff line number Diff line
@@ -690,7 +690,7 @@ csum_page(struct page *page, int offset, int copy)
	return csum;
	return csum;
}
}


inline int ip_ufo_append_data(struct sock *sk,
static inline int ip_ufo_append_data(struct sock *sk,
			int getfrag(void *from, char *to, int offset, int len,
			int getfrag(void *from, char *to, int offset, int len,
			       int odd, struct sk_buff *skb),
			       int odd, struct sk_buff *skb),
			void *from, int length, int hh_len, int fragheaderlen,
			void *from, int length, int hh_len, int fragheaderlen,