mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
staging: ks7010: refactor ks_wlan_set_beacon_lost function
Change if condition to handle invalid value first and avoid nonsense else's path improving readability. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ad9bd58c2a
commit
25ee63eb2d
1 changed files with 5 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue