staging: r8188eu: no need for an else after return
authorMartin Kaiser <martin@kaiser.cx>
Sat, 9 Apr 2022 16:32:03 +0000 (18:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2022 13:49:57 +0000 (15:49 +0200)
commit05a1e43e487693fb2d53778fe20f94d399549dfe
tree3fd941d2af8e8f943fcb1802b35b87d7198f85e8
parent4b6c9a368967bf060a407a4ff2f182481b23b2ed
staging: r8188eu: no need for an else after return

The else branch at the end of send_beacon is not necessary. We return in
the if branch.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220409163212.241122-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c