staging: wilc1000: removes duplicate vif variable setting

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

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Leo Kim 2016-03-15 18:48:10 +09:00 committed by Greg Kroah-Hartman
parent 9635d33830
commit 2dfad49a8f

View file

@ -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);