[Devel] [PATCH] kio: Remove dead code declaration

Kirill Tkhai ktkhai at virtuozzo.com
Thu May 17 12:36:31 MSK 2018


This place we always have __PCS_DTRACE__ defined.

Signed-off-by: Kirill Tkhai <ktkhai at virtuozzo.com>
---
 fs/fuse/kio/pcs/log.h |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/fs/fuse/kio/pcs/log.h b/fs/fuse/kio/pcs/log.h
index ee524a8b7a34..4ff7d76c35bb 100644
--- a/fs/fuse/kio/pcs/log.h
+++ b/fs/fuse/kio/pcs/log.h
@@ -35,11 +35,6 @@ static int pcs_loglevel __attribute__ ((unused)) = LOG_DEBUG;
 			pr_debug(fmt , ##args);				\
 	} while (0)
 #define TRACE(fmt, args...)	trace_printk("%d: " fmt "\n", __LINE__, ## args)
-
-#ifndef __PCS_DTRACE__
-#define DTRACE(fmt, ...) do {} while (0)
-#else
 #define DTRACE(fmt, args...)	trace_printk("%d: " fmt "\n", __LINE__, ## args)
 #endif
-#endif
 #endif /* __PCSLOG_H__ */



More information about the Devel mailing list