staging: vt6655: Remove space after cast
Remove space after cast to fix checkpatch issue. CHECK: No space is necessary after a cast Signed-off-by: Mamta Shukla <mamtashukla555@gmail.com> Reviewed-by: Himanshu Jha <himanshujha199640@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
fd0ce395e6
commit
0cbe40eb2b
@ -1094,7 +1094,7 @@ s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
|
|||||||
sizeof(struct vnt_tx_datahead_g);
|
sizeof(struct vnt_tx_datahead_g);
|
||||||
} else { /* RTS_needless */
|
} else { /* RTS_needless */
|
||||||
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
||||||
pMICHDR = (struct vnt_mic_hdr *) (pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts));
|
pMICHDR = (struct vnt_mic_hdr *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts));
|
||||||
pvRTS = NULL;
|
pvRTS = NULL;
|
||||||
pvCTS = (void *) (pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts) + cbMICHDR);
|
pvCTS = (void *) (pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts) + cbMICHDR);
|
||||||
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize +
|
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize +
|
||||||
@ -1106,7 +1106,7 @@ s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
|
|||||||
/* Auto Fall Back */
|
/* Auto Fall Back */
|
||||||
if (bRTS) {/* RTS_need */
|
if (bRTS) {/* RTS_need */
|
||||||
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
||||||
pMICHDR = (struct vnt_mic_hdr *) (pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_rts));
|
pMICHDR = (struct vnt_mic_hdr *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_rts));
|
||||||
pvRTS = (void *) (pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_rts) + cbMICHDR);
|
pvRTS = (void *) (pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_rts) + cbMICHDR);
|
||||||
pvCTS = NULL;
|
pvCTS = NULL;
|
||||||
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_rts) +
|
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_rts) +
|
||||||
@ -1115,7 +1115,7 @@ s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
|
|||||||
cbMICHDR + sizeof(struct vnt_rts_g_fb) + sizeof(struct vnt_tx_datahead_g_fb);
|
cbMICHDR + sizeof(struct vnt_rts_g_fb) + sizeof(struct vnt_tx_datahead_g_fb);
|
||||||
} else { /* RTS_needless */
|
} else { /* RTS_needless */
|
||||||
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
||||||
pMICHDR = (struct vnt_mic_hdr *) (pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts));
|
pMICHDR = (struct vnt_mic_hdr *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts));
|
||||||
pvRTS = NULL;
|
pvRTS = NULL;
|
||||||
pvCTS = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts) + cbMICHDR);
|
pvCTS = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts) + cbMICHDR);
|
||||||
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts) +
|
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_cts) +
|
||||||
@ -1129,7 +1129,7 @@ s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
|
|||||||
if (byFBOption == AUTO_FB_NONE) {
|
if (byFBOption == AUTO_FB_NONE) {
|
||||||
if (bRTS) {
|
if (bRTS) {
|
||||||
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
||||||
pMICHDR = (struct vnt_mic_hdr *) (pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_ab));
|
pMICHDR = (struct vnt_mic_hdr *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_ab));
|
||||||
pvRTS = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_ab) + cbMICHDR);
|
pvRTS = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_ab) + cbMICHDR);
|
||||||
pvCTS = NULL;
|
pvCTS = NULL;
|
||||||
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize +
|
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize +
|
||||||
@ -1138,7 +1138,7 @@ s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType,
|
|||||||
cbMICHDR + sizeof(struct vnt_rts_ab) + sizeof(struct vnt_tx_datahead_ab);
|
cbMICHDR + sizeof(struct vnt_rts_ab) + sizeof(struct vnt_tx_datahead_ab);
|
||||||
} else { /* RTS_needless, need MICHDR */
|
} else { /* RTS_needless, need MICHDR */
|
||||||
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
pvRrvTime = (void *)(pbyTxBufferAddr + wTxBufSize);
|
||||||
pMICHDR = (struct vnt_mic_hdr *) (pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_ab));
|
pMICHDR = (struct vnt_mic_hdr *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_ab));
|
||||||
pvRTS = NULL;
|
pvRTS = NULL;
|
||||||
pvCTS = NULL;
|
pvCTS = NULL;
|
||||||
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_ab) + cbMICHDR);
|
pvTxDataHd = (void *)(pbyTxBufferAddr + wTxBufSize + sizeof(struct vnt_rrv_time_ab) + cbMICHDR);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user