staging: rtl8188eu: remove braces from single statement if block
authorMichael Straube <straube.linux@gmail.com>
Sun, 13 Oct 2019 13:12:48 +0000 (15:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Oct 2019 13:36:56 +0000 (15:36 +0200)
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>
drivers/staging/rtl8188eu/core/rtw_mlme.c

index 1ec3b23..e764436 100644 (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--;