Staging: rtl8192e: Fix unnecessary parentheses style warning
authorMahati Chamarthy <mahati.chamarthy@gmail.com>
Thu, 18 Sep 2014 23:52:33 +0000 (05:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:13:41 +0000 (17:13 -0700)
This fixes the following checkpatch.pl warning:
WARNING: Unnecessary parentheses - maybe == should be = ?

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl819x_BAProc.c

index b1fb57058750a92758c36337d3380181d33a45ea..7d67f8438c4a113be33fd2f29ebb0226e5e67804 100644 (file)
@@ -376,7 +376,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb)
        pAdmittedBA = &pTS->TxAdmittedBARecord;
 
 
-       if ((pAdmittedBA->bValid == true)) {
+       if (pAdmittedBA->bValid == true) {
                RTLLIB_DEBUG(RTLLIB_DL_BA, "OnADDBARsp(): Recv ADDBA Rsp."
                             " Drop because already admit it!\n");
                return -1;