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

Commit d9584d8c authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net: skb_flow_get_be16() can be static



Removes following sparse complain :

net/core/flow_dissector.c:70:8: warning: symbol 'skb_flow_get_be16'
was not declared. Should it be static?

Fixes: 972d3876 ("flow dissector: ICMP support")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2f8225e8
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -67,8 +67,8 @@ EXPORT_SYMBOL(skb_flow_dissector_init);
 * The function will try to retrieve a be32 entity at
 * The function will try to retrieve a be32 entity at
 * offset poff
 * offset poff
 */
 */
__be16 skb_flow_get_be16(const struct sk_buff *skb, int poff, void *data,
static __be16 skb_flow_get_be16(const struct sk_buff *skb, int poff,
			 int hlen)
				void *data, int hlen)
{
{
	__be16 *u, _u;
	__be16 *u, _u;