[PATCH] emxx_udc : Fix #if 0 coding style warning

Yacov Simhony ysimhony at gmail.com
Sun May 26 20:10:55 UTC 2019


This patch fixes the checkpathc.pl warning:
WARNING: Consider removing the code enclosed by this #if 0 and its #endif

Signed-off-by: Yacov Simhony <ysimhony at gmail.com>
---
 drivers/staging/emxx_udc/emxx_udc.h | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/emxx_udc/emxx_udc.h b/drivers/staging/emxx_udc/emxx_udc.h
index b8c3dee..985a1fb 100644
--- a/drivers/staging/emxx_udc/emxx_udc.h
+++ b/drivers/staging/emxx_udc/emxx_udc.h
@@ -10,10 +10,8 @@
 
 /*---------------------------------------------------------------------------*/
 /*----------------- Default undef */
-#if 0
-#define DEBUG
-#define UDC_DEBUG_DUMP
-#endif
+//#define DEBUG
+//#define UDC_DEBUG_DUMP
 
 /*----------------- Default define */
 #define	USE_DMA	1
-- 
2.7.4



More information about the devel mailing list