Index: uspace/drv/bus/usb/ohci/ohci_batch.c
===================================================================
--- uspace/drv/bus/usb/ohci/ohci_batch.c	(revision d5abaf4b55ff0acd80899bb825da600c8de24c59)
+++ uspace/drv/bus/usb/ohci/ohci_batch.c	(revision dab311200f066c27dc908a2d866a746a7737d747)
@@ -172,5 +172,6 @@
 	ohci_batch->usb_batch->transfered_size =
 	    ohci_batch->usb_batch->buffer_size;
-	/* Assume we will leave the last td behind */
+
+	/* Assume we will leave the last(unused) TD behind */
 	ohci_batch->leave_td = ohci_batch->td_count;
 
@@ -234,14 +235,6 @@
 	assert(ohci_ep);
 	ohci_ep->td = ohci_batch->tds[ohci_batch->leave_td];
-#if 0
-	assert(i > 0);
-	ohci_batch->usb_batch->transfered_size =
-	    ohci_batch->usb_batch->buffer_size;
-	for (--i;i < ohci_batch->td_count; ++i) {
-		ohci_batch->usb_batch->transfered_size
-		    -= td_remain_size(ohci_batch->tds[i]);
-	}
-#endif
-	/* Just make sure that we are leaving the right TD behind */
+
+	/* Make sure that we are leaving the right TD behind */
 	const uint32_t pa = addr_to_phys(ohci_ep->td);
 	assert(pa == (ohci_batch->ed->td_head & ED_TDHEAD_PTR_MASK));
@@ -288,5 +281,5 @@
 	const usb_direction_t status_dir = reverse_dir[dir];
 
-	/* setup stage */
+	/* Setup stage */
 	td_init(
 	    ohci_batch->tds[0], ohci_batch->tds[1], USB_DIRECTION_BOTH,
@@ -297,5 +290,5 @@
 	buffer += ohci_batch->usb_batch->setup_size;
 
-	/* data stage */
+	/* Data stage */
 	size_t td_current = 1;
 	size_t remain_size = ohci_batch->usb_batch->buffer_size;
@@ -321,5 +314,5 @@
 	}
 
-	/* status stage */
+	/* Status stage */
 	assert(td_current == ohci_batch->td_count - 1);
 	td_init(ohci_batch->tds[td_current], ohci_batch->tds[td_current + 1],
