From: stephen hemminger Date: Mon, 24 Jul 2017 17:25:23 +0000 (-0700) Subject: 6lowpan: fix set not used warning X-Git-Tag: v4.14-rc1~130^2~442^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ce7426ca70de80b4a8c9ada8f14ce6d651cccf5e;p=thirdparty%2Fkernel%2Flinux.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 2af4f1cc0ab47..4e2576fc0c599 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;