Too much debug info from ide-tape
PATCH 1/1 Too much debug info from ide-tape
Hi Marcelo.
This little patch removes too much DEBUG info fromdrivers/ide/ide-tape.c. This is for vanilla 2.4.18.
--alfredo
-------------------------------------------------------
drivers/ide/ide-tape.c +6 -6
@@ -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);
------------------------------------------------------------------------