]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: directly fetch 'priv' handler from 'vif' instance
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 11 Feb 2020 09:57:09 +0000 (09:57 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Feb 2020 19:18:29 +0000 (11:18 -0800)
commit6d4db7c3f8beb6547723c1f59965d6dfbad60b2f
tree9ac78f6961f8a469dc1e6751faaa4cb5bc1419a7
parentebd6a4c27cc8d4a6d1019a187df3a60b25a7d4a5
staging: wilc1000: directly fetch 'priv' handler from 'vif' instance

The 'priv' handler is already present in 'vif' struct so directly fetch
its value from vif handler in wilc_handle_roc_expired().

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