From a1cc25e4749a12ca898e1cebc630cfcbcb04c0a0 Mon Sep 17 00:00:00 2001 From: vlnb Date: Fri, 6 Nov 2009 19:05:09 +0000 Subject: [PATCH] Logging cleanup git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1325 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst_debug.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scst/include/scst_debug.h b/scst/include/scst_debug.h index 1197aa5..0ac2c26 100644 --- a/scst/include/scst_debug.h +++ b/scst/include/scst_debug.h @@ -167,7 +167,6 @@ do { \ #define PRINT_BUFF_FLAG(flag, message, buff, len) \ do { \ if (___unlikely(trace_flag & (flag))) { \ - PRINTN(KERN_INFO, "%s", ""); \ debug_print_prefix(trace_flag, NULL, __func__, __LINE__);\ PRINT(KERN_CONT, "%s:", message); \ debug_print_buffer(buff, len); \ @@ -187,7 +186,6 @@ do { \ #define TRACE_DBG_FLAG(trace, format, args...) \ do { \ if (trace_flag & (trace)) { \ - PRINTN(KERN_INFO, "%s", ""); \ debug_print_prefix(trace_flag, NULL, __func__, __LINE__);\ PRINT(KERN_CONT, format, args); \ } \ @@ -204,7 +202,6 @@ do { \ #define TRACE_BUFFER(message, buff, len) \ do { \ if (trace_flag & TRACE_BUFF) { \ - PRINTN(KERN_INFO, "%s", ""); \ debug_print_prefix(trace_flag, NULL, __func__, __LINE__);\ PRINT(KERN_CONT, "%s:", message); \ debug_print_buffer(buff, len); \ @@ -214,7 +211,6 @@ do { \ #define TRACE_BUFF_FLAG(flag, message, buff, len) \ do { \ if (trace_flag & (flag)) { \ - PRINTN(KERN_INFO, "%s", ""); \ debug_print_prefix(trace_flag, NULL, __func__, __LINE__);\ PRINT(KERN_CONT, "%s:", message); \ debug_print_buffer(buff, len); \ @@ -223,35 +219,30 @@ do { \ #define PRINT_LOG_FLAG(log_flag, format, args...) \ do { \ - PRINTN(KERN_INFO, "%s", ""); \ debug_print_prefix(trace_flag, __LOG_PREFIX, __func__, __LINE__);\ PRINT(KERN_CONT, format, args); \ } while (0) #define PRINT_WARNING(format, args...) \ do { \ - PRINTN(KERN_INFO, "%s", ""); \ debug_print_prefix(trace_flag, __LOG_PREFIX, __func__, __LINE__);\ PRINT(KERN_CONT, "***WARNING***: " format, args); \ } while (0) #define PRINT_ERROR(format, args...) \ do { \ - PRINTN(KERN_INFO, "%s", ""); \ debug_print_prefix(trace_flag, __LOG_PREFIX, __func__, __LINE__);\ PRINT(KERN_CONT, "***ERROR***: " format, args); \ } while (0) #define PRINT_CRIT_ERROR(format, args...) \ do { \ - PRINTN(KERN_INFO, "%s", ""); \ debug_print_prefix(trace_flag, __LOG_PREFIX, __func__, __LINE__);\ PRINT(KERN_CONT, "***CRITICAL ERROR***: " format, args); \ } while (0) #define PRINT_INFO(format, args...) \ do { \ - PRINTN(KERN_INFO, "%s", ""); \ debug_print_prefix(trace_flag, __LOG_PREFIX, __func__, __LINE__);\ PRINT(KERN_CONT, format, args); \ } while (0) -- 2.17.1