summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/power.c
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2014-08-10 12:21:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-08-16 12:23:15 -0700
commitf2af99ee5bca2eccc2d61bfee0ad82c84af18f8f (patch)
treed24e23378f960a59ae2748c18ff7236b146c0923 /drivers/staging/vt6655/power.c
parent11a72e5e11429c1598a53bc314765e0ff15da2c7 (diff)
downloadop-kernel-dev-f2af99ee5bca2eccc2d61bfee0ad82c84af18f8f.zip
op-kernel-dev-f2af99ee5bca2eccc2d61bfee0ad82c84af18f8f.tar.gz
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.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/vt6655/power.c b/drivers/staging/vt6655/power.c
index 2a21cbd..f08c26f 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)
OpenPOWER on IntegriCloud