]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: remove unnecessary netdev validation check in del_key()
authorAjay Singh <ajay.kathat@microchip.com>
Thu, 26 Sep 2019 15:14:54 +0000 (15:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Sep 2019 19:58:02 +0000 (21:58 +0200)
commit7224302fa3aec07dd7aa7cd19366655bec1605d4
treeeae2a89d70624fae32181a56929660eaf80500ba
parentb77caf615fe284e4461f116b0cee1513345c9af1
staging: wilc1000: remove unnecessary netdev validation check in del_key()

Removed unnecessary check to compare vif interface with zeroth index
element in vif array. Already the caller takes care of passing the
appropriate netdev handler during the del key operation.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Link: https://lore.kernel.org/r/20190926151436.27819-1-ajay.kathat@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c