git: 9front

Download patch

ref: ef34f6f06309bb7e4654224b5eb010466ee23f45
parent: a11e151047da62a75086abc4f28ca53382a89104
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Mar 1 13:56:45 EST 2015

devmnt: remove unused mntstats fields from Mntrpc

--- a/sys/src/9/port/devmnt.c
+++ b/sys/src/9/port/devmnt.c
@@ -29,9 +29,6 @@
 	uchar*	rpc;		/* I/O Data buffer */
 	uint	rpclen;		/* len of buffer */
 	Block*	b;		/* reply blocks */
-	uvlong	stime;		/* start time for mnt statistics */
-	ulong	reqlen;		/* request length for mnt statistics */
-	ulong	replen;		/* reply length for mnt statistics */
 	Mntrpc*	flushed;	/* message this one flushes */
 	char	done;		/* Rpc completed */
 };
@@ -808,8 +805,6 @@
 		
 	if(devtab[m->c->type]->write(m->c, r->rpc, n, 0) != n)
 		error(Emountrpc);
-	r->stime = fastticks(nil);
-	r->reqlen = n;
 
 	/* Gate readers onto the mount point one at a time */
 	for(;;) {
--