devide: remove escaped debug, ifdef routine not always required
authorAlan Cox <alan@linux.intel.com>
Fri, 13 Feb 2015 17:03:56 +0000 (17:03 +0000)
committerAlan Cox <alan@linux.intel.com>
Fri, 13 Feb 2015 17:03:56 +0000 (17:03 +0000)
Kernel/dev/devide_discard.c

index f841d81..4ed3070 100644 (file)
@@ -23,6 +23,7 @@
 /* each source file.                                                        */
 /****************************************************************************/
 
+#ifdef IDE_REG_CONTROL
 static void devide_delay(void)
 {
     timer_t timeout;
@@ -32,6 +33,7 @@ static void devide_delay(void)
     while(!timer_expired(timeout))
        platform_idle();
 }
+#endif
 
 void devide_init_drive(uint8_t drive)
 {
@@ -95,7 +97,6 @@ void devide_init_drive(uint8_t drive)
     if(!blk)
        goto failout;
 
-    kputs("BAL");
     blk->transfer = devide_transfer_sector;
     blk->flush = devide_flush_cache;
     blk->driver_data = drive & DRIVE_NR_MASK;