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

Commit 233351bd authored by Varka Bhadram's avatar Varka Bhadram Committed by Marcel Holtmann
Browse files

6lowpan: remove unused function



This patch removes the unused function.

Signed-off-by: default avatarVarka Bhadram <varkab@cdac.in>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 267ca9fe
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -240,17 +240,6 @@ static inline int lowpan_fetch_skb_u8(struct sk_buff *skb, u8 *val)
	return 0;
}

static inline int lowpan_fetch_skb_u16(struct sk_buff *skb, u16 *val)
{
	if (unlikely(!pskb_may_pull(skb, 2)))
		return -EINVAL;

	*val = (skb->data[0] << 8) | skb->data[1];
	skb_pull(skb, 2);

	return 0;
}

static inline bool lowpan_fetch_skb(struct sk_buff *skb,
		void *data, const unsigned int len)
{