]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
6lowpan: fix set not used warning
authorstephen hemminger <stephen@networkplumber.org>
Mon, 24 Jul 2017 17:25:23 +0000 (10:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jul 2017 19:31:37 +0000 (12:31 -0700)
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>
net/bluetooth/6lowpan.c

index 2af4f1cc0ab47a905fd31a9008dca161b4d8a2bb..4e2576fc0c59932cbb1f3c98c150764b91bb52c1 100644 (file)
@@ -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;