Skip to content

Commit

Permalink
Staging: slicoss: remove SLICLEVEL and SLIC_DISPLAY macros
Browse files Browse the repository at this point in the history
They aren't needed or used anymore.

Cc: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Greg Kroah-Hartman committed Apr 3, 2009
1 parent e52011e commit e5bac59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 1 addition & 6 deletions drivers/staging/slicoss/slicdbg.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,7 @@
#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
Expand Down
3 changes: 2 additions & 1 deletion drivers/staging/slicoss/slicoss.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit e5bac59

Please sign in to comment.