Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Marcos Paulo de Souza and committed by
Greg Kroah-Hartman
c25b3c9a 75fe8c8b

+2 -5
+1 -4
drivers/staging/vt6656/int.c
··· 92 92 spin_unlock_irq(&pDevice->lock); 93 93 } 94 94 95 - int INTnsProcessData(PSDevice pDevice) 95 + void INTnsProcessData(PSDevice pDevice) 96 96 { 97 - int status = STATUS_SUCCESS; 98 97 PSINTData pINTData; 99 98 PSMgmtObject pMgmt = &(pDevice->sMgmtObj); 100 99 struct net_device_stats *pStats = &pDevice->stats; ··· 217 218 pDevice->scStatistic.ullTxBroadcastBytes; 218 219 pStats->tx_errors = pDevice->scStatistic.dwTsrErr; 219 220 pStats->tx_dropped = pDevice->scStatistic.dwTsrErr; 220 - 221 - return status; 222 221 }
+1 -1
drivers/staging/vt6656/int.h
··· 68 68 /*--------------------- Export Functions --------------------------*/ 69 69 70 70 void INTvWorkItem(void *Context); 71 - int INTnsProcessData(PSDevice pDevice); 71 + void INTnsProcessData(PSDevice pDevice); 72 72 73 73 #endif /* __INT_H__ */