]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: dgnc: remove some unused macros
authorSeunghun Lee <waydi1@gmail.com>
Sun, 31 Aug 2014 15:36:39 +0000 (00:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 31 Aug 2014 20:00:16 +0000 (13:00 -0700)
These macros do nothing, so remove it.

CC: Lidza Louina <lidza.louina@gmail.com>
CC: Mark Hounschell <markh@compro.net>
Signed-off-by: Seunghun Lee <waydi1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_driver.h

index 11110204c63f3548b512186e5a133ca366a11d8d..77768748906de85da9a7985fc4f439bbf93b0b67 100644 (file)
@@ -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