staging: rtl8723au: hal: Removed unnecessary braces.
authorAybuke Ozdemir <aybuke.147@gmail.com>
Sat, 27 Sep 2014 13:47:48 +0000 (16:47 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 03:11:26 +0000 (23:11 -0400)
This patch fixes "braces {} are not necessary for single statement
blocks" checkpatch.pl warning in hal_com.c

Signed-off-by: Aybuke Ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/hal_com.c

index ae037d27d62e118b23b1611a3d7d507fdaa940f6..bf919f6e41286abd04fd9c5431ac8427e2550e93 100644 (file)
@@ -742,9 +742,8 @@ void rtl8723a_fifo_cleanup(struct rtw_adapter *padapter)
                        if (!v32)
                                break;
                } while (trycnt--);
-               if (trycnt == 0) {
+               if (trycnt == 0)
                        DBG_8723A("Stop RX DMA failed......\n");
-               }
 
                /*  RQPN Load 0 */
                rtl8723au_write16(padapter, REG_RQPN_NPQ, 0);