ref: fc1ff7705b339d480f15fa934c7df215158c1901
parent: 3f869a689403c385ca761be5535a5de2db054db4
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(;;) {