[PATCH v5 1/4] staging: mt7621-mmc: Remove commented code for N_MSG

Nishad Kamdar nishadkamdar at gmail.com
Thu Aug 23 17:28:09 UTC 2018


This patch removes the dead code for N_MSG().

Signed-off-by: Nishad Kamdar <nishadkamdar at gmail.com>
---
Changes in v5:
  - Remove commented code for N_MSG()
---
 drivers/staging/mt7621-mmc/dbg.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/drivers/staging/mt7621-mmc/dbg.h b/drivers/staging/mt7621-mmc/dbg.h
index 2f2c56b73987..6f6b4505337f 100644
--- a/drivers/staging/mt7621-mmc/dbg.h
+++ b/drivers/staging/mt7621-mmc/dbg.h
@@ -103,14 +103,6 @@ do { \
 #endif /* end of +++ */
 
 #define N_MSG(evt, fmt, args...)
-/*
-do {    \
-    if ((DBG_EVT_##evt) & sd_debug_zone[host->id]) { \
-        printk(KERN_ERR TAG"%d -> "fmt" <- %s() : L<%d> PID<%s><0x%x>\n", \
-            host->id,  ##args , __FUNCTION__, __LINE__, current->comm, current->pid);	\
-    } \
-} while(0)
-*/
 
 #define ERR_MSG(fmt, args...) \
 do { \
-- 
2.17.1



More information about the devel mailing list