diff options
author | Guillaume Clement <gclement@baobob.org> | 2014-07-25 01:06:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-27 11:21:27 -0700 |
commit | fe802546ce748b5af933157e181f1d653ac5ec9c (patch) | |
tree | 39d9f1027fcf6bb5a93bd0bdfe6c8a44a861a74c /drivers/staging/vt6655/power.c | |
parent | 7a3391764f7c346c1523852b8ed223ef574afc8b (diff) | |
download | op-kernel-dev-fe802546ce748b5af933157e181f1d653ac5ec9c.zip op-kernel-dev-fe802546ce748b5af933157e181f1d653ac5ec9c.tar.gz |
staging: vt6655: remove useless return statements
Many return statements in void function were present at the end of
functions, with no effect. They now are removed.
This fixes a bunch of checkpatch warnings.
Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/power.c')
-rw-r--r-- | drivers/staging/vt6655/power.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c index 5dfa911..a6e48c7 100644 --- a/drivers/staging/vt6655/power.c +++ b/drivers/staging/vt6655/power.c @@ -114,7 +114,6 @@ PSvEnablePowerSaving( pDevice->bPWBitOn = true; DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "PS:Power Saving Mode Enable... \n"); - return; } /*+ @@ -149,7 +148,6 @@ PSvDisablePowerSaving( PSbSendNullPacket(pDevice); pDevice->bPWBitOn = false; - return; } /*+ @@ -253,8 +251,6 @@ PSvSendPSPOLL( if (csMgmt_xmit(pDevice, pTxPacket) != CMD_STATUS_PENDING) { DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Send PS-Poll packet failed..\n"); } - - return; } /*+ |