Staging: rtl8723bs: fix indentation in HalBtc8723b1Ant.c
authorDesmond Cheong Zhi Xi <desmondcheongzx@gmail.com>
Tue, 18 May 2021 04:41:15 +0000 (00:41 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 May 2021 15:50:55 +0000 (17:50 +0200)
commit3750ae9e79b601b47920ca642de96bef96a45388
treef2377b42d499f8965e41d367d33a8f9bf34e5251
parent426ddc5298771dd3fc2298508ed132ae2b180ee2
Staging: rtl8723bs: fix indentation in HalBtc8723b1Ant.c

This commit fixes the following checkpatch.pl errors:

WARNING: suspect code indent for conditional statements (32, 33)
+ if (nCCKLockCounter < 5)
+  nCCKLockCounter++;

WARNING: suspect code indent for conditional statements (32, 33)
+ if (nCCKLockCounter > 0)
+  nCCKLockCounter--;

WARNING: suspect code indent for conditional statements (24, 26)
+ if (nCCKLockCounter > 0)
+   nCCKLockCounter--;

WARNING: suspect code indent for conditional statements (16, 17)
+ if (nCCKLockCounter >= 5)
+  pCoexSta->bCCKLock = true;

WARNING: suspect code indent for conditional statements (16, 17)
+ else
+  pCoexSta->bCCKLock = false;

WARNING: suspect code indent for conditional statements (16, 17)
+ if (nCCKLockCounter == 0)
+  pCoexSta->bCCKLock = false;

WARNING: suspect code indent for conditional statements (16, 17)
+ else
+  pCoexSta->bCCKLock = true;

WARNING: suspect code indent for conditional statements (16, 25)
+ if (bScan || bLink || bRoam) {
+  if (bScan)

WARNING: Statements should start on a tabstop
+  if (bScan)

WARNING: Statements should start on a tabstop
+  else

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com>
Link: https://lore.kernel.org/r/20210518044119.2960494-4-desmondcheongzx@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c