Staging: slicoss: remove SLICLEVEL and SLIC_DISPLAY macros

They aren't needed or used anymore.

Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Greg Kroah-Hartman 2009-02-26 14:56:25 -08:00
parent e52011e476
commit e5bac59803
2 changed files with 3 additions and 7 deletions

View file

@ -42,12 +42,7 @@
#ifndef _SLIC_DEBUG_H_ #ifndef _SLIC_DEBUG_H_
#define _SLIC_DEBUG_H_ #define _SLIC_DEBUG_H_
#ifdef SLIC_DEFAULT_LOG_LEVEL #define DBG_ERROR(n, args...) printk(KERN_EMERG n, ##args)
#else
#define SLICLEVEL KERN_DEBUG
#endif
#define SLIC_DISPLAY printk
#define DBG_ERROR(n, args...) SLIC_DISPLAY(KERN_EMERG n, ##args)
#ifdef ASSERT #ifdef ASSERT
#undef ASSERT #undef ASSERT

View file

@ -4042,7 +4042,8 @@ static int __init slic_module_init(void)
slic_init_driver(); slic_init_driver();
if (debug >= 0 && slic_debug != debug) 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) if (debug >= 0)
slic_debug = debug; slic_debug = debug;