shithub: riscv

Download patch

ref: c7c58ef8bb07a917dc9e1891b9226a132493c84a
parent: d1315ade4171b25039a60b01d8fd8f39d822cc10
author: cinap_lenrek <[email protected]>
date: Sun Sep 20 10:27:41 EDT 2015

devsd: remove unused timeout field from SDreq

--- a/sys/src/9/port/devsd.c
+++ b/sys/src/9/port/devsd.c
@@ -1310,7 +1310,6 @@
 		if(unit->state == Rawdata){
 			unit->state = Rawstatus;
 			r = unit->req;
-			r->timeout = 0;
 			i = sdrio(r, a, n);
 		}
 		else if(unit->state == Rawstatus){
--- a/sys/src/9/port/sd.h
+++ b/sys/src/9/port/sd.h
@@ -110,7 +110,6 @@
 	int	dlen;
 
 	int	flags;
-	ulong	timeout;		/* in ticks */
 
 	int	status;
 	long	rlen;