Commit 9f96ca62 authored by Vitezslav Samel's avatar Vitezslav Samel Committed by Linus Torvalds

[PATCH] debug messages in ide-floppy.c

The debug messages are on by mistake in ide-floppy.c since 2.5.50.

Use #if instead of #ifndef.
parent 23c52a79
...@@ -115,10 +115,10 @@ ...@@ -115,10 +115,10 @@
/* #define IDEFLOPPY_DEBUG(fmt, args...) printk(KERN_INFO fmt, ## args) */ /* #define IDEFLOPPY_DEBUG(fmt, args...) printk(KERN_INFO fmt, ## args) */
#define IDEFLOPPY_DEBUG( fmt, args... ) #define IDEFLOPPY_DEBUG( fmt, args... )
#ifndef IDEFLOPPY_DEBUG_LOG #if IDEFLOPPY_DEBUG_LOG
#define debug_log(fmt, args... ) do {} while(0)
#else
#define debug_log printk #define debug_log printk
#else
#define debug_log(fmt, args... ) do {} while(0)
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment