diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2014-08-10 12:21:56 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-16 12:23:15 -0700 |
commit | f2af99ee5bca2eccc2d61bfee0ad82c84af18f8f (patch) | |
tree | d24e23378f960a59ae2748c18ff7236b146c0923 /drivers/staging/vt6655/power.c | |
parent | 11a72e5e11429c1598a53bc314765e0ff15da2c7 (diff) |
staging: vt6655: Remove TxInSleep macro
TxInSleep is always enabled remove the macro and any
else code.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
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 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c index 2a21cbd1c6ac..f08c26fbb10f 100644 --- a/drivers/staging/vt6655/power.c +++ b/drivers/staging/vt6655/power.c @@ -274,13 +274,9 @@ PSbSendNullPacket( if (!pDevice->bLinkPass) return false; -#ifdef TxInSleep if (!pDevice->bEnablePSMode && !pDevice->fTxDataInSleep) return false; -#else - if (!pDevice->bEnablePSMode) - return false; -#endif + if (pDevice->bEnablePSMode) { for (uIdx = 0; uIdx < TYPE_MAXTD; uIdx++) { if (pDevice->iTDUsed[uIdx] != 0) |