staging: vt6656: int.c, int.h: Change return of function to void
authorMarcos Paulo de Souza <marcos.mage@gmail.com>
Tue, 20 Dec 2011 01:07:00 +0000 (01:07 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Dec 2011 21:45:19 +0000 (13:45 -0800)
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>
drivers/staging/vt6656/int.c
drivers/staging/vt6656/int.h

index c95833ac58e024f06b8683a8920689099a34bb79..0a114231145fc11ecfa9170c9f06a55d90ef495d 100644 (file)
@@ -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;
@@ -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;
 }
index 3176c8d08d6ded41790077c13b4f8d7022a9a0b7..a5d96b968176456e255fc6d1d0000db33770a8a3 100644 (file)
@@ -68,6 +68,6 @@ SINTData, *PSINTData;
 /*---------------------  Export Functions  --------------------------*/
 
 void INTvWorkItem(void *Context);
-int INTnsProcessData(PSDevice pDevice);
+void INTnsProcessData(PSDevice pDevice);
 
 #endif /* __INT_H__ */
This page took 0.028514 seconds and 5 git commands to generate.