Skip to contentSkip to conversation

am53c974: remove left-over debugging code

PATCH New Hannes Reinecke 1 participant 1 message Feb 2, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 am53c974: remove left-over debugging code

A shost_printk() statement was left over from debugging. It can safely be removed; the same information is displayed in the debugging message some lines further down.

---
 drivers/scsi/am53c974.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/scsi/am53c974.c +0 -6
index aa3e2c7..a6f5ee8 100644
@@ -178,12 +178,6 @@ static void pci_esp_dma_drain(struct esp *esp)
 			break;
 		cpu_relax();
 	}
-	if (resid > 1) {
-		/* FIFO not cleared */
-		shost_printk(KERN_INFO, esp->host,
-			     "FIFO not cleared, %d bytes left\n",
-			     resid);
-	}
 
 	/*
 	 * When there is a residual BCMPLT will never be set
Signature · 1 line
1.8.5.2