remove the return statement at the end of function which are returning nothing (void). Signed-off-by: Devendra Naga <devendra.aaru@xxxxxxxxx> --- drivers/staging/vt6655/bssdb.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c index da9d69a..348b59a 100644 --- a/drivers/staging/vt6655/bssdb.c +++ b/drivers/staging/vt6655/bssdb.c @@ -836,7 +836,6 @@ BSSvCreateOneNode(void *hDeviceContext, unsigned int *puNodeIndex) pMgmt->sNodeDBTable[*puNodeIndex].byAuthSequence = 0; pMgmt->sNodeDBTable[*puNodeIndex].wEnQueueCnt = 0; DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Create node index = %d\n", ii); - return; }; @@ -870,8 +869,6 @@ BSSvRemoveOneNode( memset(&pMgmt->sNodeDBTable[uNodeIndex], 0, sizeof(KnownNodeDB)); // clear tx bit map pMgmt->abyPSTxMap[pMgmt->sNodeDBTable[uNodeIndex].wAID >> 3] &= ~byMask[pMgmt->sNodeDBTable[uNodeIndex].wAID & 7]; - - return; }; /*+ * @@ -1356,7 +1353,6 @@ start: pMgmt->sTimerSecondCallback.expires = RUN_AT(HZ); add_timer(&pMgmt->sTimerSecondCallback); - return; } @@ -1543,8 +1539,6 @@ BSSvUpdateNodeTxCounter( } } - return; - } @@ -1594,8 +1588,6 @@ BSSvClearNodeDBTable( memset(&pMgmt->sNodeDBTable[ii], 0, sizeof(KnownNodeDB)); } } - - return; }; @@ -1660,7 +1652,6 @@ BSSvClearAnyBSSJoinRecord ( for (ii = 0; ii < MAX_BSS_NUM; ii++) { pMgmt->sBSSList[ii].bSelected = false; } - return; } #ifdef Calcu_LinkQual @@ -1708,7 +1699,6 @@ else pDevice->scStatistic.TxFailCount = 0; pDevice->scStatistic.TxNoRetryOkCount = 0; pDevice->scStatistic.TxRetryOkCount = 0; - return; } #endif @@ -1728,6 +1718,5 @@ void s_vCheckPreEDThreshold( //BBvUpdatePreEDThreshold(pDevice, false); } } - return; } -- 1.8.1.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel