OSDN Git Service

staging: wfx: remove redundant test while calling wfx_update_pm()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:15:13 +0000 (16:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:15 +0000 (15:56 +0100)
commitad41f7196bd3eafa2e879ec7f3d387a49666f677
tree3ab6cadf1395ae0505bd9f6707f30b07ef585604
parent8dd5bb6631949f78c8aff1747f496265a97b1375
staging: wfx: remove redundant test while calling wfx_update_pm()

Condition about wvif->state and wvif->bss_params.aid is already checked
at beginning of wfx_update_pm().

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20191217161318.31402-34-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c