staging: wilc1000: remove unnecessary loop to traverse vif interfaces
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 26 Jun 2019 12:40:58 +0000 (12:40 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Jul 2019 07:01:41 +0000 (09:01 +0200)
commit264a472d29b8843c979a361abcf2f324bcb045cf
treef807ad908c012b1b38f1f0c9e586bb99ba69b876
parent2f5e568b28fb72f0e88c6876308072242d3f4d16
staging: wilc1000: remove unnecessary loop to traverse vif interfaces

Cleanup patch to avoid loop to traverse the interfaces instead make use
of vif received from net_device priv data.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c
drivers/staging/wilc1000/wilc_netdev.c