[haiku-commits] r33532 - haiku/trunk/src/add-ons/kernel/bus_managers/scsi

  • From: mmlr@xxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 11 Oct 2009 21:20:00 +0200 (CEST)

Author: mmlr
Date: 2009-10-11 21:20:00 +0200 (Sun, 11 Oct 2009)
New Revision: 33532
Changeset: http://dev.haiku-os.org/changeset/33532/haiku

Modified:
   haiku/trunk/src/add-ons/kernel/bus_managers/scsi/emulation.c
Log:
Disable code by #if 0 to make it more obvious.


Modified: haiku/trunk/src/add-ons/kernel/bus_managers/scsi/emulation.c
===================================================================
--- haiku/trunk/src/add-ons/kernel/bus_managers/scsi/emulation.c        
2009-10-11 18:20:21 UTC (rev 33531)
+++ haiku/trunk/src/add-ons/kernel/bus_managers/scsi/emulation.c        
2009-10-11 19:20:00 UTC (rev 33532)
@@ -126,7 +126,8 @@
                cdb->length = B_HOST_TO_BENDIAN_INT16((uint16)cmd->length);
        cdb->control = cmd->control;
 
-       if (0) {
+#if 0
+       {
                static uint32 lastLBA = 0;
                static uint16 lastLength = 0;
                static uint32 contigCount = 0;
@@ -148,6 +149,7 @@
                        B_BENDIAN_TO_HOST_INT32(cdb->lba),
                        B_BENDIAN_TO_HOST_INT16(cdb->length));
        }
+#endif
 
        return true;
 }


Other related posts:

  • » [haiku-commits] r33532 - haiku/trunk/src/add-ons/kernel/bus_managers/scsi - mmlr