[PATCH] Remove DEFINE_DYNAMIC_DEBUG_METADATA

Eugene Krasnikov k.eugene.e at gmail.com
Wed Apr 17 06:57:49 EDT 2013


DEFINE_DYNAMIC_DEBUG_METADATA is available in latest kernel

Signed-off-by: Eugene Krasnikov <k.eugene.e at gmail.com>
---
 wcn36xx.h | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/wcn36xx.h b/wcn36xx.h
index f806867..1d76ac2 100644
--- a/wcn36xx.h
+++ b/wcn36xx.h
@@ -40,17 +40,6 @@
 #define wcn36xx_dbg(fmt, arg...) \
 	pr_debug(DRIVER_PREFIX fmt "\n", ##arg)
 
-#define DEFINE_DYNAMIC_DEBUG_METADATA(name, fmt)		\
-	static struct _ddebug __used __aligned(8)		\
-	__attribute__((section("__verbose"))) name = {		\
-		.modname = KBUILD_MODNAME,			\
-		.function = __func__,				\
-		.filename = __FILE__,				\
-		.format = (fmt),				\
-		.lineno = __LINE__,				\
-		.flags =  _DPRINTK_FLAGS_DEFAULT,		\
-	}
-
 #define wcn36xx_dbg_dump(prefix_str, buf, len)			\
 do {									\
 	DEFINE_DYNAMIC_DEBUG_METADATA(descriptor, prefix_str);		\
-- 
1.7.11.3




More information about the wcn36xx mailing list