]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wfx: drop useless checks in wfx_do_unjoin()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 20 Apr 2020 16:03:08 +0000 (18:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 11:26:05 +0000 (13:26 +0200)
commit6dc893feb7d945edeb397e90bea4c5e68521f114
treea5bb6c0608312ab3064078d22881743238b8f0e3
parent1b098eb55c3c1cc8612ca0e878710be73d9e5221
staging: wfx: drop useless checks in wfx_do_unjoin()

The callers of wfx_do_unjoin() already take care of vif state.
Therefore, it is not necessary to take care of the status of the
interface.

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