Commit 84d3b87e authored by Leo Kim's avatar Leo Kim Committed by Greg Kroah-Hartman

staging: wilc1000: linux_wlan: remove unused defines

This patch removes unused defines from linux_wlan.c file.
 - NM73131
 - PLAT_CLM9722
Two defines are support custom feature that don't used anymore.
Signed-off-by: default avatarLeo Kim <leo.kim@atmel.com>
Signed-off-by: default avatarGlen Lee <glen.lee@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 98b89847
......@@ -1534,15 +1534,9 @@ int wilc_netdev_init(struct wilc **wilc)
nic = netdev_priv(ndev);
memset(nic, 0, sizeof(perInterface_wlan_t));
if (i == 0) {
#if defined(NM73131)
strcpy(ndev->name, "wilc_eth%d");
#elif defined(PLAT_CLM9722)
strcpy(ndev->name, "eth%d");
#else
if (i == 0)
strcpy(ndev->name, "wlan%d");
#endif
} else
else
strcpy(ndev->name, "p2p%d");
nic->u8IfIdx = g_linux_wlan->vif_num;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment