Skip to contentSkip to conversation

staging: dgnc: remove some unused macros

PATCH New Seunghun Lee 1 participant 1 message Aug 31, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: dgnc: remove some unused macros

These macros do nothing, so remove it.

CC Lidza Louina <[email protected]>
CC Mark Hounschell <[email protected]>
---
 drivers/staging/dgnc/dgnc_driver.h |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
drivers/staging/dgnc/dgnc_driver.h +2 -5
index 1111020..7776874 100644
@@ -54,9 +54,9 @@
 #define	DEVSTR		"/dev/dg/dgnc"		/* /dev entries		 */
 #define	DRVSTR		"dgnc"			/* Driver name string
 						 * displayed by APR	 */
-#define	APR(args)	do { PRINTF_TO_KMEM(args); printk(DRVSTR": "); printk args; \
+#define	APR(args)	do { printk(DRVSTR": "); printk args; \
 			   } while (0)
-#define	RAPR(args)	do { PRINTF_TO_KMEM(args); printk args; } while (0)
+#define	RAPR(args)	do { printk args; } while (0)
 
 #define TRC_TO_CONSOLE 1
 
@@ -89,9 +89,6 @@
 
 #define	DBG_CARR		(dgnc_debug & 0x10000)
 
-#define PRINTF_TO_KMEM(args)
-# define TRC(ARGS)
-
 /* Number of boards we support at once. */
 #define	MAXBOARDS	20
 #define	MAXPORTS	8
Signature · 1 line
1.7.9.5