staging: rtl8188eu: remove braces from single statement if block

Remove braces from single statement if block to comply with kernel
coding style. Reported by checkpatch.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20191013131249.34422-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Michael Straube 2019-10-13 15:12:48 +02:00 committed by Greg Kroah-Hartman
parent 02d7aa2f3b
commit 29c03456f1
1 changed files with 2 additions and 2 deletions

View File

@ -2045,9 +2045,9 @@ void _rtw_roaming(struct adapter *padapter, struct wlan_network *tgt_network)
while (1) {
do_join_r = rtw_do_join(padapter);
if (do_join_r == _SUCCESS) {
if (do_join_r == _SUCCESS)
break;
}
DBG_88E("roaming do_join return %d\n", do_join_r);
pmlmepriv->to_roaming--;