Commit 88cc8507 authored by Teodora Baluta's avatar Teodora Baluta Committed by Greg Kroah-Hartman

staging: vt6655: remove unneeded semicolon

This patch deletes any unneeded semicolons in driver vt6655 as detected
by coccinelle.
Signed-off-by: default avatarTeodora Baluta <teobaluta@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 649520bb
...@@ -1221,7 +1221,7 @@ BSSvSecondCallBack( ...@@ -1221,7 +1221,7 @@ BSSvSecondCallBack(
bScheduleCommand((void *)pDevice, WLAN_CMD_BSSID_SCAN, NULL); bScheduleCommand((void *)pDevice, WLAN_CMD_BSSID_SCAN, NULL);
bScheduleCommand((void *)pDevice, WLAN_CMD_SSID, NULL); bScheduleCommand((void *)pDevice, WLAN_CMD_SSID, NULL);
pDevice->uAutoReConnectTime = 0; pDevice->uAutoReConnectTime = 0;
}; }
} }
if (pMgmt->eCurrState == WMAC_STATE_JOINTED) { if (pMgmt->eCurrState == WMAC_STATE_JOINTED) {
if (pDevice->bUpdateBBVGA) if (pDevice->bUpdateBBVGA)
......
...@@ -2013,7 +2013,7 @@ QWORD CARDqGetTSFOffset(unsigned char byRxRate, QWORD qwTSF1, QWORD qwTSF2) ...@@ -2013,7 +2013,7 @@ QWORD CARDqGetTSFOffset(unsigned char byRxRate, QWORD qwTSF1, QWORD qwTSF2)
HIDWORD(qwTSFOffset) = HIDWORD(qwTSF1) - HIDWORD(qwTSF2) - 1; HIDWORD(qwTSFOffset) = HIDWORD(qwTSF1) - HIDWORD(qwTSF2) - 1;
} else { } else {
HIDWORD(qwTSFOffset) = HIDWORD(qwTSF1) - HIDWORD(qwTSF2); HIDWORD(qwTSFOffset) = HIDWORD(qwTSF1) - HIDWORD(qwTSF2);
}; }
return qwTSFOffset; return qwTSFOffset;
} }
......
...@@ -169,7 +169,7 @@ s_vProcessRxMACHeader(PSDevice pDevice, unsigned char *pbyRxBufferAddr, ...@@ -169,7 +169,7 @@ s_vProcessRxMACHeader(PSDevice pDevice, unsigned char *pbyRxBufferAddr,
} }
} else { } else {
cbHeaderSize += WLAN_HDR_ADDR3_LEN; cbHeaderSize += WLAN_HDR_ADDR3_LEN;
}; }
pbyRxBuffer = (unsigned char *)(pbyRxBufferAddr + cbHeaderSize); pbyRxBuffer = (unsigned char *)(pbyRxBufferAddr + cbHeaderSize);
if (ether_addr_equal(pbyRxBuffer, pDevice->abySNAP_Bridgetunnel)) { if (ether_addr_equal(pbyRxBuffer, pDevice->abySNAP_Bridgetunnel)) {
...@@ -263,7 +263,7 @@ s_vGetDASA(unsigned char *pbyRxBufferAddr, unsigned int *pcbHeaderSize, ...@@ -263,7 +263,7 @@ s_vGetDASA(unsigned char *pbyRxBufferAddr, unsigned int *pcbHeaderSize,
psEthHeader->abySrcAddr[ii] = pMACHeader->abyAddr2[ii]; psEthHeader->abySrcAddr[ii] = pMACHeader->abyAddr2[ii];
} }
} }
}; }
*pcbHeaderSize = cbHeaderSize; *pcbHeaderSize = cbHeaderSize;
} }
...@@ -592,7 +592,7 @@ device_receive_frame( ...@@ -592,7 +592,7 @@ device_receive_frame(
} }
} else { } else {
// Control Frame // Control Frame
}; }
return false; return false;
} else { } else {
if (pMgmt->eCurrMode == WMAC_MODE_ESS_AP) { if (pMgmt->eCurrMode == WMAC_MODE_ESS_AP) {
......
...@@ -1632,7 +1632,7 @@ int iwctl_giwsens(struct net_device *dev, ...@@ -1632,7 +1632,7 @@ int iwctl_giwsens(struct net_device *dev,
wrq->value = ldBm; wrq->value = ldBm;
} else { } else {
wrq->value = 0; wrq->value = 0;
}; }
wrq->disabled = (wrq->value == 0); wrq->disabled = (wrq->value == 0);
wrq->fixed = 1; wrq->fixed = 1;
......
...@@ -260,7 +260,7 @@ PSvSendPSPOLL( ...@@ -260,7 +260,7 @@ PSvSendPSPOLL(
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send PS-Poll packet failed..\n"); DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send PS-Poll packet failed..\n");
} else { } else {
// DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send PS-Poll packet success..\n"); // DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send PS-Poll packet success..\n");
}; }
return; return;
} }
......
...@@ -2212,7 +2212,7 @@ CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket) { ...@@ -2212,7 +2212,7 @@ CMD_STATUS csMgmt_xmit(PSDevice pDevice, PSTxMgmtPacket pPacket) {
else { else {
bNeedACK = true; bNeedACK = true;
pTxBufHead->wFIFOCtl |= FIFOCTL_NEEDACK; pTxBufHead->wFIFOCtl |= FIFOCTL_NEEDACK;
}; }
if ((pMgmt->eCurrMode == WMAC_MODE_ESS_AP) || if ((pMgmt->eCurrMode == WMAC_MODE_ESS_AP) ||
(pMgmt->eCurrMode == WMAC_MODE_IBSS_STA)) { (pMgmt->eCurrMode == WMAC_MODE_IBSS_STA)) {
...@@ -2686,7 +2686,7 @@ vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, unsigned char *pbMPDU, un ...@@ -2686,7 +2686,7 @@ vDMA0_tx_80211(PSDevice pDevice, struct sk_buff *skb, unsigned char *pbMPDU, un
} }
bNeedACK = true; bNeedACK = true;
pTxBufHead->wFIFOCtl |= FIFOCTL_NEEDACK; pTxBufHead->wFIFOCtl |= FIFOCTL_NEEDACK;
}; }
if ((pMgmt->eCurrMode == WMAC_MODE_ESS_AP) || if ((pMgmt->eCurrMode == WMAC_MODE_ESS_AP) ||
(pMgmt->eCurrMode == WMAC_MODE_IBSS_STA)) { (pMgmt->eCurrMode == WMAC_MODE_IBSS_STA)) {
......
...@@ -1719,7 +1719,7 @@ s_vMgrRxDeauthentication( ...@@ -1719,7 +1719,7 @@ s_vMgrRxDeauthentication(
} }
/* else, ignore it. TODO: IBSS authentication service /* else, ignore it. TODO: IBSS authentication service
would be implemented here */ would be implemented here */
}; }
return; return;
} }
...@@ -2092,10 +2092,10 @@ s_vMgrRxBeacon( ...@@ -2092,10 +2092,10 @@ s_vMgrRxBeacon(
pMgmt->bInTIM = sFrame.pTIM->byVirtBitMap[uLocateByteIndex] & byTIMBitOn ? true : false; pMgmt->bInTIM = sFrame.pTIM->byVirtBitMap[uLocateByteIndex] & byTIMBitOn ? true : false;
} else { } else {
pMgmt->bInTIM = false; pMgmt->bInTIM = false;
}; }
} else { } else {
pMgmt->bInTIM = false; pMgmt->bInTIM = false;
}; }
if (pMgmt->bInTIM || if (pMgmt->bInTIM ||
(pMgmt->bMulticastTIM && (pMgmt->byDTIMCount == 0))) { (pMgmt->bMulticastTIM && (pMgmt->byDTIMCount == 0))) {
...@@ -2671,7 +2671,7 @@ vMgrJoinBSSBegin( ...@@ -2671,7 +2671,7 @@ vMgrJoinBSSBegin(
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "End of Join AP -- A/B/G Action\n"); DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "End of Join AP -- A/B/G Action\n");
} else { } else {
pMgmt->eCurrState = WMAC_STATE_IDLE; pMgmt->eCurrState = WMAC_STATE_IDLE;
}; }
} else { } else {
// ad-hoc mode BSS // ad-hoc mode BSS
...@@ -2740,8 +2740,8 @@ vMgrJoinBSSBegin( ...@@ -2740,8 +2740,8 @@ vMgrJoinBSSBegin(
bMgrPrepareBeaconToSend((void *)pDevice, pMgmt); bMgrPrepareBeaconToSend((void *)pDevice, pMgmt);
} else { } else {
pMgmt->eCurrState = WMAC_STATE_IDLE; pMgmt->eCurrState = WMAC_STATE_IDLE;
}; }
}; }
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment