staging: vt6655: remove unneeded semicolon
authorTeodora Baluta <teobaluta@gmail.com>
Sun, 10 Nov 2013 15:12:45 +0000 (17:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 19:15:08 +0000 (11:15 -0800)
This patch deletes any unneeded semicolons in driver vt6655 as detected
by coccinelle.

Signed-off-by: Teodora Baluta <teobaluta@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/bssdb.c
drivers/staging/vt6655/card.c
drivers/staging/vt6655/dpc.c
drivers/staging/vt6655/iwctl.c
drivers/staging/vt6655/power.c
drivers/staging/vt6655/rxtx.c
drivers/staging/vt6655/wmgr.c

index 3b39cb2..5995dc2 100644 (file)
@@ -1221,7 +1221,7 @@ start:
                                bScheduleCommand((void *)pDevice, WLAN_CMD_BSSID_SCAN, NULL);
                                bScheduleCommand((void *)pDevice, WLAN_CMD_SSID, NULL);
                                pDevice->uAutoReConnectTime = 0;
-                       };
+                       }
                }
                if (pMgmt->eCurrState == WMAC_STATE_JOINTED) {
                        if (pDevice->bUpdateBBVGA)
index e95ecca..db38ca0 100644 (file)
@@ -2013,7 +2013,7 @@ QWORD CARDqGetTSFOffset(unsigned char byRxRate, QWORD qwTSF1, QWORD qwTSF2)
                HIDWORD(qwTSFOffset) = HIDWORD(qwTSF1) - HIDWORD(qwTSF2) - 1;
        } else {
                HIDWORD(qwTSFOffset) = HIDWORD(qwTSF1) - HIDWORD(qwTSF2);
-       };
+       }
        return qwTSFOffset;
 }
 
index c60f3e6..0a29c90 100644 (file)
@@ -169,7 +169,7 @@ s_vProcessRxMACHeader(PSDevice pDevice, unsigned char *pbyRxBufferAddr,
                }
        } else {
                cbHeaderSize += WLAN_HDR_ADDR3_LEN;
-       };
+       }
 
        pbyRxBuffer = (unsigned char *)(pbyRxBufferAddr + cbHeaderSize);
        if (ether_addr_equal(pbyRxBuffer, pDevice->abySNAP_Bridgetunnel)) {
@@ -263,7 +263,7 @@ s_vGetDASA(unsigned char *pbyRxBufferAddr, unsigned int *pcbHeaderSize,
                                psEthHeader->abySrcAddr[ii] = pMACHeader->abyAddr2[ii];
                        }
                }
-       };
+       }
        *pcbHeaderSize = cbHeaderSize;
 }
 
@@ -592,7 +592,7 @@ device_receive_frame(
                        }
                } else {
                        // Control Frame
-               };
+               }
                return false;
        } else {
                if (pMgmt->eCurrMode == WMAC_MODE_ESS_AP) {
index 4bff8aa..2db4bc8 100644 (file)
@@ -1632,7 +1632,7 @@ int iwctl_giwsens(struct net_device *dev,
                wrq->value = ldBm;
        } else {
                wrq->value = 0;
-       };
+       }
        wrq->disabled = (wrq->value == 0);
        wrq->fixed = 1;
 
index 3da2838..4bd1ccb 100644 (file)
@@ -260,7 +260,7 @@ PSvSendPSPOLL(
                DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send PS-Poll packet failed..\n");
        } else {
 //        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send PS-Poll packet success..\n");
-       };
+       }
 
        return;
 }
index 182c53e..6affd6e 100644 (file)
@@ -2212,7 +2212,7 @@ CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket) {
        else {
                bNeedACK = true;
                pTxBufHead->wFIFOCtl |= FIFOCTL_NEEDACK;
-       };
+       }
 
        if ((pMgmt->eCurrMode == WMAC_MODE_ESS_AP) ||
            (pMgmt->eCurrMode == WMAC_MODE_IBSS_STA)) {
@@ -2686,7 +2686,7 @@ vDMA0_tx_80211(PSDevice  pDevice, struct sk_buff *skb, unsigned char *pbMPDU, un
                }
                bNeedACK = true;
                pTxBufHead->wFIFOCtl |= FIFOCTL_NEEDACK;
-       };
+       }
 
        if ((pMgmt->eCurrMode == WMAC_MODE_ESS_AP) ||
            (pMgmt->eCurrMode == WMAC_MODE_IBSS_STA)) {
index a1eff7e..5200a2a 100644 (file)
@@ -1719,7 +1719,7 @@ s_vMgrRxDeauthentication(
                }
                /* else, ignore it.  TODO: IBSS authentication service
                   would be implemented here */
-       };
+       }
        return;
 }
 
@@ -2092,10 +2092,10 @@ s_vMgrRxBeacon(
                                        pMgmt->bInTIM = sFrame.pTIM->byVirtBitMap[uLocateByteIndex] & byTIMBitOn ? true : false;
                                } else {
                                        pMgmt->bInTIM = false;
-                               };
+                               }
                        } else {
                                pMgmt->bInTIM = false;
-                       };
+                       }
 
                        if (pMgmt->bInTIM ||
                            (pMgmt->bMulticastTIM && (pMgmt->byDTIMCount == 0))) {
@@ -2671,7 +2671,7 @@ vMgrJoinBSSBegin(
                        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "End of Join AP -- A/B/G Action\n");
                } else {
                        pMgmt->eCurrState = WMAC_STATE_IDLE;
-               };
+               }
 
        } else {
                // ad-hoc mode BSS
@@ -2740,8 +2740,8 @@ vMgrJoinBSSBegin(
                        bMgrPrepareBeaconToSend((void *)pDevice, pMgmt);
                } else {
                        pMgmt->eCurrState = WMAC_STATE_IDLE;
-               };
-       };
+               }
+       }
        return;
 }