Browse Source

Staging: rtl8187se: fix braces {} are not necessary for single statement blocks in r8185b_init.c

Fix checkpatch.pl issues with braces {} are not necessary
for single statement blocks in r8185b_init.c

Signed-off-by: Ebru Akagunduz <ebru.akagunduz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Ebru Akagunduz 11 years ago
parent
commit
51f79f1e30
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/staging/rtl8187se/r8185b_init.c

+ 1 - 2
drivers/staging/rtl8187se/r8185b_init.c

@@ -915,9 +915,8 @@ static void ActUpdateChannelAccessSetting(struct net_device *dev,
 	 */
 	write_nic_byte(dev, AckTimeOutReg, 0x5B);
 
-	for (eACI = 0; eACI < AC_MAX; eACI++) {
+	for (eACI = 0; eACI < AC_MAX; eACI++)
 		write_nic_byte(dev, ACM_CONTROL, 0);
-	}
 }
 
 static void ActSetWirelessMode8185(struct net_device *dev, u8 btWirelessMode)