summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/6lowpan.c
diff options
context:
space:
mode:
authorstephen hemminger <stephen@networkplumber.org>2017-07-24 10:25:23 -0700
committerDavid S. Miller <davem@davemloft.net>2017-07-25 12:31:37 -0700
commitce7426ca70de80b4a8c9ada8f14ce6d651cccf5e (patch)
tree5959063d7334125405fd66879b001439c58fd62d /net/bluetooth/6lowpan.c
parent614d79c09e03d4a421f6d7eab1804600db33e04e (diff)
downloadlinux-ce7426ca70de80b4a8c9ada8f14ce6d651cccf5e.tar.bz2
6lowpan: fix set not used warning
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Acked-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/6lowpan.c')
-rw-r--r--net/bluetooth/6lowpan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/bluetooth/6lowpan.c b/net/bluetooth/6lowpan.c
index 2af4f1cc0ab4..4e2576fc0c59 100644
--- a/net/bluetooth/6lowpan.c
+++ b/net/bluetooth/6lowpan.c
@@ -273,9 +273,6 @@ static int iphc_decompress(struct sk_buff *skb, struct net_device *netdev,
struct lowpan_peer *peer)
{
const u8 *saddr;
- struct lowpan_btle_dev *dev;
-
- dev = lowpan_btle_dev(netdev);
saddr = peer->lladdr;