diff options
author | Seunghun Lee <waydi1@gmail.com> | 2014-09-01 00:36:39 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-31 13:00:16 -0700 |
commit | 79f284d29bbf7852093d0262c097e8faee32bc03 (patch) | |
tree | 1517f7c4b93eb329a299b790964529a0ff2a095d /drivers/staging/dgnc | |
parent | b533ff4b18d4dee42683b4e149610347cb3a4e66 (diff) |
staging: dgnc: remove some unused macros
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>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_driver.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index 11110204c63f..77768748906d 100644 --- a/drivers/staging/dgnc/dgnc_driver.h +++ b/drivers/staging/dgnc/dgnc_driver.h @@ -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 |