[PATCH 6/6] vt6655: remove return statements at the end of functions in power.c

Devendra Naga devendra.aaru at gmail.com
Sat Apr 6 18:18:20 UTC 2013


remove return at the end of all void functions

Signed-off-by: Devendra Naga <devendra.aaru at gmail.com>
---
 drivers/staging/vt6655/power.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c
index 661d534..e118b63 100644
--- a/drivers/staging/vt6655/power.c
+++ b/drivers/staging/vt6655/power.c
@@ -126,7 +126,6 @@ PSvEnablePowerSaving(
     }
     pDevice->bPWBitOn = true;
     DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "PS:Power Saving Mode Enable... \n");
-    return;
 }
 
 
@@ -167,7 +166,6 @@ PSvDisablePowerSaving(
         PSbSendNullPacket(pDevice);
     }
     pDevice->bPWBitOn = false;
-    return;
 }
 
 
@@ -281,8 +279,6 @@ PSvSendPSPOLL(
     else {
 //        DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send PS-Poll packet success..\n");
     };
-
-    return;
 }
 
 
-- 
1.8.1.4




More information about the devel mailing list