From: stephen hemminger Date: Mon, 24 Jul 2017 17:25:23 +0000 (-0700) Subject: 6lowpan: fix set not used warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ce7426ca70de80b4a8c9ada8f14ce6d651cccf5e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 6lowpan: fix set not used warning Signed-off-by: Stephen Hemminger Acked-by: Luiz Augusto von Dentz Signed-off-by: David S. Miller --- 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;