mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 06:30:20 -04:00
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:
committed by
Greg Kroah-Hartman
parent
9635d33830
commit
2dfad49a8f
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user