staging: rtl8723bs: Fix indenting problems in hal/HalHWImg8723B_BB.c
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 8 Apr 2017 16:07:31 +0000 (11:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Apr 2017 07:26:28 +0000 (09:26 +0200)
Smatch lists the following:

  CHECK   drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c
drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c:314 ODM_ReadAndConfig_MP_8723B_AGC_TAB() warn: for statement not indented
drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c:583 ODM_ReadAndConfig_MP_8723B_PHY_REG() warn: for statement not indented
drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c:586 ODM_ReadAndConfig_MP_8723B_PHY_REG() warn: inconsistent indenting

These were all fixed with white-space changes.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalHWImg8723B_BB.c

index b42f06076f930035e36e37ecff9bbce4d3148f2c..51d4219177d3de6920ced611a59f900823454c85 100644 (file)
@@ -312,7 +312,7 @@ void ODM_ReadAndConfig_MP_8723B_AGC_TAB(PDM_ODM_T pDM_Odm)
                                *   Discard the following (offset, data) pairs.
                                */
                                while (v1 < 0x40000000 && i < ArrayLen-2)
-                               READ_NEXT_PAIR(v1, v2, i);
+                                       READ_NEXT_PAIR(v1, v2, i);
 
                                i -= 2; /*  prevent from for-loop += 2 */
                        } else {
@@ -581,9 +581,9 @@ void ODM_ReadAndConfig_MP_8723B_PHY_REG(PDM_ODM_T pDM_Odm)
                                *   Discard the following (offset, data) pairs.
                                */
                                while (v1 < 0x40000000 && i < ArrayLen-2)
-                               READ_NEXT_PAIR(v1, v2, i);
+                                       READ_NEXT_PAIR(v1, v2, i);
 
-                                       i -= 2; /*  prevent from for-loop += 2 */
+                               i -= 2; /*  prevent from for-loop += 2 */
                        } else { /*  Configure matched pairs and skip to end of if-else. */
                                while (v1 < 0x40000000 && i < ArrayLen-2) {
                                        odm_ConfigBB_PHY_8723B(pDM_Odm, v1, bMaskDWord, v2);