Skip to contentSkip to conversation

Too much debug info from ide-tape

PATCH New Alfredo Sanjuán 1 participant 1 message Mar 20, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Too much debug info from ide-tape

Hi Marcelo.

This little patch removes too much DEBUG info from
drivers/ide/ide-tape.c. This is for vanilla 2.4.18.

--alfredo

-------------------------------------------------------

drivers/ide/ide-tape.c +6 -6
diff -ur linux-2.4.18/drivers/ide/ide-tape.c linux-2.4.18new/drivers/ide/ide-tape.c
@@ -3096,10 +3096,10 @@
 	idetape_tape_t *tape = drive->driver_data;
 	idetape_read_position_result_t *result;
 	
-//#if IDETAPE_DEBUG_LOG
-//	if (tape->debug_level >= 4)
+#if IDETAPE_DEBUG_LOG
+	if (tape->debug_level >= 4)
 		printk (KERN_INFO "ide-tape: Reached idetape_read_position_callback\n");
-//#endif /* IDETAPE_DEBUG_LOG */
+#endif /* IDETAPE_DEBUG_LOG */
 
 	if (!tape->pc->error) {
 		result = (idetape_read_position_result_t *) tape->pc->buffer;
@@ -3273,10 +3273,10 @@
 	idetape_pc_t pc;
 	int position;
 
-//#if IDETAPE_DEBUG_LOG
-//        if (tape->debug_level >= 4)
+#if IDETAPE_DEBUG_LOG
+        if (tape->debug_level >= 4)
 	printk (KERN_INFO "ide-tape: Reached idetape_read_position\n");
-//#endif /* IDETAPE_DEBUG_LOG */
+#endif /* IDETAPE_DEBUG_LOG */
 
 #ifdef NO_LONGER_REQUIRED
 	idetape_flush_tape_buffers(drive);

------------------------------------------------------------------------