staging: vt6656: int.c, int.h: Change return of function to void
This patch removes the int return of function INTnsProcessData, because nobody uses this return. Signed-off-by: Marcos Paulo de Souza <marcos.mage@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
75fe8c8b90
commit
c25b3c9a43
|
@ -92,9 +92,8 @@ void INTvWorkItem(void *Context)
|
||||||
spin_unlock_irq(&pDevice->lock);
|
spin_unlock_irq(&pDevice->lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
int INTnsProcessData(PSDevice pDevice)
|
void INTnsProcessData(PSDevice pDevice)
|
||||||
{
|
{
|
||||||
int status = STATUS_SUCCESS;
|
|
||||||
PSINTData pINTData;
|
PSINTData pINTData;
|
||||||
PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
|
PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
|
||||||
struct net_device_stats *pStats = &pDevice->stats;
|
struct net_device_stats *pStats = &pDevice->stats;
|
||||||
|
@ -218,6 +217,4 @@ int INTnsProcessData(PSDevice pDevice)
|
||||||
pDevice->scStatistic.ullTxBroadcastBytes;
|
pDevice->scStatistic.ullTxBroadcastBytes;
|
||||||
pStats->tx_errors = pDevice->scStatistic.dwTsrErr;
|
pStats->tx_errors = pDevice->scStatistic.dwTsrErr;
|
||||||
pStats->tx_dropped = pDevice->scStatistic.dwTsrErr;
|
pStats->tx_dropped = pDevice->scStatistic.dwTsrErr;
|
||||||
|
|
||||||
return status;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,6 +68,6 @@ SINTData, *PSINTData;
|
||||||
/*--------------------- Export Functions --------------------------*/
|
/*--------------------- Export Functions --------------------------*/
|
||||||
|
|
||||||
void INTvWorkItem(void *Context);
|
void INTvWorkItem(void *Context);
|
||||||
int INTnsProcessData(PSDevice pDevice);
|
void INTnsProcessData(PSDevice pDevice);
|
||||||
|
|
||||||
#endif /* __INT_H__ */
|
#endif /* __INT_H__ */
|
||||||
|
|
Loading…
Reference in New Issue