drivers/staging/bcm/Misc: style: removed duplicate parentheses
authorRobin Schroer <sulamiification@gmail.com>
Mon, 16 Jun 2014 11:01:47 +0000 (13:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Jun 2014 00:07:13 +0000 (17:07 -0700)
Signed-off-by: Robin Schroer <sulamiification@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Misc.c

index f2bc699886ce62444a93969d60ace396a97ccb81..a0637eb278479282f4249dc76dc67fb9a3708b6f 100644 (file)
@@ -284,7 +284,7 @@ int CopyBufferToControlPacket(struct bcm_mini_adapter *Adapter, void *ioBuffer)
                        pLeader->Status == CM_CONTROL_NEWDSX_MULTICLASSIFIER_REQ) {
 
                        if ((pLeader->Status == LINK_UP_CONTROL_REQ) && (pLinkReq->szData[0] == LINK_DOWN_REQ_PAYLOAD)) {
-                               if ((pLinkReq->szData[1] == LINK_SYNC_DOWN_SUBTYPE)) {
+                               if (pLinkReq->szData[1] == LINK_SYNC_DOWN_SUBTYPE) {
                                        BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, TX_CONTROL, DBG_LVL_ALL, "Link Down Sent in Idle Mode\n");
                                        Adapter->usIdleModePattern = ABORT_IDLE_SYNCDOWN; /* LINK DOWN sent in Idle Mode */
                                } else {
@@ -630,7 +630,7 @@ void SendIdleModeResponse(struct bcm_mini_adapter *Adapter)
        }
 
        status = CopyBufferToControlPacket(Adapter, &stIdleResponse);
-       if ((status != STATUS_SUCCESS)) {
+       if (status != STATUS_SUCCESS) {
                BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "fail to send the Idle mode Request\n");
                Adapter->bPreparingForLowPowerMode = false;
                StartInterruptUrb((struct bcm_interface_adapter *)(Adapter->pvInterfaceAdapter));
@@ -1393,7 +1393,7 @@ static void SendShutModeResponse(struct bcm_mini_adapter *Adapter)
        }
 
        Status = CopyBufferToControlPacket(Adapter, &stShutdownResponse);
-       if ((Status != STATUS_SUCCESS)) {
+       if (Status != STATUS_SUCCESS) {
                BCM_DEBUG_PRINT(Adapter, DBG_TYPE_OTHERS, MP_SHUTDOWN, DBG_LVL_ALL, "fail to send the Idle mode Request\n");
                Adapter->bPreparingForLowPowerMode = false;
                StartInterruptUrb((struct bcm_interface_adapter *)(Adapter->pvInterfaceAdapter));