Skip to contentSkip to conversation

Staging: vt6655: Fix warning about preprocessor conditionals

PATCH New Madhumitha Prabakaran 1 participant 1 message Mar 4, 2019 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: vt6655: Fix warning about preprocessor conditionals

Fix the warning by removing code between #if and #endif, as coding style say the compiler will constant-fold the conditional away and include or exclude the block of code as with an endif.

---
 drivers/staging/vt6655/power.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/vt6655/power.c +0 -1
index d6c581b31569..c2a7c120a94d 100644
@@ -64,7 +64,6 @@ PSvEnablePowerSaving(
 	} else {
 		/* set ATIM Window */
 #if 0 /* TODO atim window */
-		MACvWriteATIMW(priv->PortOffset, pMgmt->wCurrATIMWindow);
 #endif
 	}
 	/* Set AutoSleep */
Signature · 1 line
2.17.1