Staging: slicoss: remove SLICLEVEL and SLIC_DISPLAY macros
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Feb 2009 22:56:25 +0000 (14:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 3 Apr 2009 21:53:08 +0000 (14:53 -0700)
They aren't needed or used anymore.

Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/slicoss/slicdbg.h
drivers/staging/slicoss/slicoss.c

index 6298a5a..12a91d7 100644 (file)
 #ifndef _SLIC_DEBUG_H_
 #define _SLIC_DEBUG_H_
 
-#ifdef SLIC_DEFAULT_LOG_LEVEL
-#else
-#define SLICLEVEL   KERN_DEBUG
-#endif
-#define SLIC_DISPLAY              printk
-#define DBG_ERROR(n, args...)   SLIC_DISPLAY(KERN_EMERG n, ##args)
+#define DBG_ERROR(n, args...)  printk(KERN_EMERG n, ##args)
 
 #ifdef ASSERT
 #undef ASSERT
index ddd8e9c..b670c5e 100644 (file)
@@ -4042,7 +4042,8 @@ static int __init slic_module_init(void)
        slic_init_driver();
 
        if (debug >= 0 && slic_debug != debug)
-               printk(SLICLEVEL "slicoss: debug level is %d.\n", debug);
+               printk(KERN_DEBUG KBUILD_MODNAME ": debug level is %d.\n",
+                      debug);
        if (debug >= 0)
                slic_debug = debug;