shithub: riscv

Download patch

ref: 676a7c6f5fcd21dac926deb8f7259baa636276fe
parent: d72757f7b190bced15df66296d86c92a0ef1d307
author: cinap_lenrek <cinap_lenrek@localhost>
date: Tue Jul 12 22:01:42 EDT 2011

sdide: remove set dma print

--- a/sys/src/9/pc/sdide.c
+++ b/sys/src/9/pc/sdide.c
@@ -539,10 +539,8 @@
 	if(unit != nil){
 		snprint(buf, sizeof buf, "*%sdma", unit->name);
 		s = getconf(buf);
-		if((s && !strcmp(s, "on")) || (!s && !getconf("*nodma"))){
-			print("set %s dma\n", unit->name);
+		if((s && !strcmp(s, "on")) || (!s && !getconf("*nodma")))
 			drive->dmactl = drive->dma;
-		}
 	}
 	return dma;
 }