Commit 7b4cabb6 authored by Jesper Juhl's avatar Jesper Juhl Committed by Greg Kroah-Hartman

staging: vt6656: int.c: We don't use spaces between a cast and the variable being converted

Remove spaces between casts and variables from
drivers/staging/vt6656/int.c .
Signed-off-by: default avatarJesper Juhl <jj@chaosbits.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0d126986
...@@ -99,8 +99,8 @@ void INTnsProcessData(PSDevice pDevice) ...@@ -99,8 +99,8 @@ void INTnsProcessData(PSDevice pDevice)
pINTData = (PSINTData) pDevice->intBuf.pDataBuf; pINTData = (PSINTData) pDevice->intBuf.pDataBuf;
if (pINTData->byTSR0 & TSR_VALID) { if (pINTData->byTSR0 & TSR_VALID) {
STAvUpdateTDStatCounter(&(pDevice->scStatistic), STAvUpdateTDStatCounter(&(pDevice->scStatistic),
(BYTE) (pINTData->byPkt0 & 0x0F), (BYTE)(pINTData->byPkt0 & 0x0F),
(BYTE) (pINTData->byPkt0>>4), (BYTE)(pINTData->byPkt0>>4),
pINTData->byTSR0); pINTData->byTSR0);
BSSvUpdateNodeTxCounter(pDevice, BSSvUpdateNodeTxCounter(pDevice,
&(pDevice->scStatistic), &(pDevice->scStatistic),
...@@ -110,8 +110,8 @@ void INTnsProcessData(PSDevice pDevice) ...@@ -110,8 +110,8 @@ void INTnsProcessData(PSDevice pDevice)
} }
if (pINTData->byTSR1 & TSR_VALID) { if (pINTData->byTSR1 & TSR_VALID) {
STAvUpdateTDStatCounter(&(pDevice->scStatistic), STAvUpdateTDStatCounter(&(pDevice->scStatistic),
(BYTE) (pINTData->byPkt1 & 0x0F), (BYTE)(pINTData->byPkt1 & 0x0F),
(BYTE) (pINTData->byPkt1>>4), (BYTE)(pINTData->byPkt1>>4),
pINTData->byTSR1); pINTData->byTSR1);
BSSvUpdateNodeTxCounter(pDevice, BSSvUpdateNodeTxCounter(pDevice,
&(pDevice->scStatistic), &(pDevice->scStatistic),
...@@ -121,8 +121,8 @@ void INTnsProcessData(PSDevice pDevice) ...@@ -121,8 +121,8 @@ void INTnsProcessData(PSDevice pDevice)
} }
if (pINTData->byTSR2 & TSR_VALID) { if (pINTData->byTSR2 & TSR_VALID) {
STAvUpdateTDStatCounter(&(pDevice->scStatistic), STAvUpdateTDStatCounter(&(pDevice->scStatistic),
(BYTE) (pINTData->byPkt2 & 0x0F), (BYTE)(pINTData->byPkt2 & 0x0F),
(BYTE) (pINTData->byPkt2>>4), (BYTE)(pINTData->byPkt2>>4),
pINTData->byTSR2); pINTData->byTSR2);
BSSvUpdateNodeTxCounter(pDevice, BSSvUpdateNodeTxCounter(pDevice,
&(pDevice->scStatistic), &(pDevice->scStatistic),
...@@ -132,8 +132,8 @@ void INTnsProcessData(PSDevice pDevice) ...@@ -132,8 +132,8 @@ void INTnsProcessData(PSDevice pDevice)
} }
if (pINTData->byTSR3 & TSR_VALID) { if (pINTData->byTSR3 & TSR_VALID) {
STAvUpdateTDStatCounter(&(pDevice->scStatistic), STAvUpdateTDStatCounter(&(pDevice->scStatistic),
(BYTE) (pINTData->byPkt3 & 0x0F), (BYTE)(pINTData->byPkt3 & 0x0F),
(BYTE) (pINTData->byPkt3>>4), (BYTE)(pINTData->byPkt3>>4),
pINTData->byTSR3); pINTData->byTSR3);
BSSvUpdateNodeTxCounter(pDevice, BSSvUpdateNodeTxCounter(pDevice,
&(pDevice->scStatistic), &(pDevice->scStatistic),
......
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