From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:41773 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755640AbcCOJvQ (ORCPT ); Tue, 15 Mar 2016 05:51:16 -0400 From: Leo Kim To: CC: , , , , , , , , Subject: [PATCH 3/7] staging: wilc1000: removes duplicate vif variable setting Date: Tue, 15 Mar 2016 18:48:10 +0900 Message-ID: <1458035294-13001-3-git-send-email-leo.kim@atmel.com> (sfid-20160315_105118_642170_7E2839E3) In-Reply-To: <1458035294-13001-1-git-send-email-leo.kim@atmel.com> References: <1458035294-13001-1-git-send-email-leo.kim@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: This patches removes duplicate vif variable setting. This value has already been set previously. Signed-off-by: Leo Kim --- drivers/staging/wilc1000/linux_wlan.c | 1 - 1 file changed, 1 deletion(-) 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); -- 1.9.1