]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: wilc1000: remove static variable 'del_beacon' and null check
authorAjay Singh <ajay.kathat@microchip.com>
Wed, 2 May 2018 07:13:39 +0000 (12:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 May 2018 20:56:35 +0000 (13:56 -0700)
commit228d0422bbbec65e96308297c43b4f3347a5a6de
tree23ddc9787a778f31d9758e7d574ebd0c9f642260
parent30324405baa119767ae0487439f9858fa37fb36b
staging: wilc1000: remove static variable 'del_beacon' and null check

Using local variable instead of static varible 'del_beacon'. Also removed
the unnecessary 'if' check in handle_del_beacon().

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