]> git.karo-electronics.de Git - linux-beck.git/commitdiff
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 6298a5a8a38fa64ae2aa4ae2b7bc836bb680b1f8..12a91d70ffe72516ca0b0e9aa20826fe4a577fd7 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 ddd8e9c892f559a0491ca2cc1bdef2d0553cd172..b670c5e1fe03fce1360f57e6a306ccfc514449d9 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;