]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] debug messages in ide-floppy.c
authorVitezslav Samel <samel@mail.cz>
Wed, 4 Dec 2002 01:28:05 +0000 (17:28 -0800)
committerLinus Torvalds <torvalds@penguin.transmeta.com>
Wed, 4 Dec 2002 01:28:05 +0000 (17:28 -0800)
The debug messages are on by mistake in ide-floppy.c since 2.5.50.

Use #if instead of #ifndef.

drivers/ide/ide-floppy.c

index f8e518bab60900ed943fc8f98b3361a2da3af700..2981d87eccb64ab8b583ecdd336aac8a3f81ee35 100644 (file)
 /* #define IDEFLOPPY_DEBUG(fmt, args...) printk(KERN_INFO fmt, ## args) */
 #define IDEFLOPPY_DEBUG( fmt, args... )
 
-#ifndef IDEFLOPPY_DEBUG_LOG
-#define debug_log(fmt, args... ) do {} while(0)
-#else
+#if IDEFLOPPY_DEBUG_LOG
 #define debug_log printk
+#else
+#define debug_log(fmt, args... ) do {} while(0)
 #endif