staging: rtl8188eu: remove braces from single if statement
authorMichael Straube <straube.linux@gmail.com>
Sun, 30 Sep 2018 19:53:09 +0000 (21:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2018 22:20:41 +0000 (15:20 -0700)
Remove braces from single line if statement.
Reported by checkpatch.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/odm_rtl8188e.c

index f42668e..9f674ba 100644 (file)
@@ -90,9 +90,8 @@ static void dm_fast_training_init(struct odm_dm_struct *dm_odm)
        struct fast_ant_train *dm_fat_tbl = &dm_odm->DM_FatTable;
        u32 AntCombination = 2;
 
-       if (*dm_odm->mp_mode == 1) {
+       if (*dm_odm->mp_mode == 1)
                return;
-       }
 
        for (i = 0; i < 6; i++) {
                dm_fat_tbl->Bssid[i] = 0;