Commit 2dfad49a authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: removes duplicate vif variable setting



This patches removes duplicate vif variable setting.
This value has already been set previously.

Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9635d338
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -912,7 +912,6 @@ int wilc_mac_open(struct net_device *ndev)
		return -ENODEV;
	}

	vif = netdev_priv(ndev);
	wilc = vif->wilc;
	priv = wiphy_priv(vif->ndev->ieee80211_ptr->wiphy);
	netdev_dbg(ndev, "MAC OPEN[%p]\n", ndev);