Skip to content

Commit

Permalink
staging: vt6656: int.c, int.h: Change return of function to void
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marcos Paulo de Souza authored and Greg Kroah-Hartman committed Dec 22, 2011
1 parent 75fe8c8 commit c25b3c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions drivers/staging/vt6656/int.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ void INTvWorkItem(void *Context)
spin_unlock_irq(&pDevice->lock);
}

int INTnsProcessData(PSDevice pDevice)
void INTnsProcessData(PSDevice pDevice)
{
int status = STATUS_SUCCESS;
PSINTData pINTData;
PSMgmtObject pMgmt = &(pDevice->sMgmtObj);
struct net_device_stats *pStats = &pDevice->stats;
Expand Down Expand Up @@ -218,6 +217,4 @@ int INTnsProcessData(PSDevice pDevice)
pDevice->scStatistic.ullTxBroadcastBytes;
pStats->tx_errors = pDevice->scStatistic.dwTsrErr;
pStats->tx_dropped = pDevice->scStatistic.dwTsrErr;

return status;
}
2 changes: 1 addition & 1 deletion drivers/staging/vt6656/int.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ SINTData, *PSINTData;
/*--------------------- Export Functions --------------------------*/

void INTvWorkItem(void *Context);
int INTnsProcessData(PSDevice pDevice);
void INTnsProcessData(PSDevice pDevice);

#endif /* __INT_H__ */

0 comments on commit c25b3c9

Please sign in to comment.