summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000
diff options
context:
space:
mode:
authorLeo Kim <leo.kim@atmel.com>2016-03-15 18:48:10 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 07:30:36 -0700
commit2dfad49a8f93ceae8a74bc403664fd13f801f8fe (patch)
treed2fa7c0ce02c37d491546b2bfc90cf9c38e1dacf /drivers/staging/wilc1000
parent9635d338303c3ed80e06c03b54ee171651438984 (diff)
downloadop-kernel-dev-2dfad49a8f93ceae8a74bc403664fd13f801f8fe.zip
op-kernel-dev-2dfad49a8f93ceae8a74bc403664fd13f801f8fe.tar.gz
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>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r--drivers/staging/wilc1000/linux_wlan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index bfa754b..8a10831 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -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);
OpenPOWER on IntegriCloud