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>
This commit is contained in:
stephen hemminger 2017-07-24 10:25:23 -07:00 committed by David S. Miller
parent 614d79c09e
commit ce7426ca70

View 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;