From: varkabhadram@gmail.com
To: linux-zigbee-devel@lists.sourceforge.net
Cc: linux-bluetooth@vger.kernel.org, alex.aring@gmail.com,
Varka Bhadram <varkab@cdac.in>
Subject: [PATCH bluetooth-next 2/2] 6lowpan: remove unused function
Date: Wed, 30 Jul 2014 11:05:12 +0530 [thread overview]
Message-ID: <1406698512-29405-3-git-send-email-varkabhadram@gmail.com> (raw)
In-Reply-To: <1406698512-29405-1-git-send-email-varkabhadram@gmail.com>
From: Varka Bhadram <varkab@cdac.in>
This patch removes the unused function.
Signed-off-by: Varka Bhadram <varkab@cdac.in>
---
include/net/6lowpan.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/include/net/6lowpan.h b/include/net/6lowpan.h
index 614920a..d184df1 100644
--- a/include/net/6lowpan.h
+++ b/include/net/6lowpan.h
@@ -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)
{
--
1.7.9.5
next prev parent reply other threads:[~2014-07-30 5:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-30 5:35 [PATCH bluetooth-next 0/2] 6lowpan cleanup varkabhadram
2014-07-30 5:35 ` [PATCH bluetooth-next 1/2] 6lowpan: remove unused macros varkabhadram
2014-07-30 5:35 ` varkabhadram [this message]
2014-07-30 5:51 ` [PATCH bluetooth-next 0/2] 6lowpan cleanup Alexander Aring
2014-07-30 5:55 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1406698512-29405-3-git-send-email-varkabhadram@gmail.com \
--to=varkabhadram@gmail.com \
--cc=alex.aring@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-zigbee-devel@lists.sourceforge.net \
--cc=varkab@cdac.in \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox