kernel: remove Ipifc.mbps, unused.
This commit is contained in:
parent
47f40d8e26
commit
02b6831fa5
3 changed files with 0 additions and 9 deletions
|
@ -188,13 +188,6 @@ etherbind(Ipifc *ifc, int argc, char **argv)
|
|||
ptr += 6;
|
||||
parsemac(ifc->mac, ptr, 6);
|
||||
|
||||
ptr = strstr(buf, "mbps: ");
|
||||
if(ptr){
|
||||
ptr += 6;
|
||||
ifc->mbps = atoi(ptr);
|
||||
} else
|
||||
ifc->mbps = 100;
|
||||
|
||||
/*
|
||||
* open arp conversation
|
||||
*/
|
||||
|
|
|
@ -315,7 +315,6 @@ struct Ipifc
|
|||
Medium *m; /* Media pointer */
|
||||
int maxtu; /* Maximum transfer unit */
|
||||
int mintu; /* Minumum tranfer unit */
|
||||
int mbps; /* megabits per second */
|
||||
void *arg; /* medium specific */
|
||||
int reassemble; /* reassemble IP packets before forwarding */
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ loopbackbind(Ipifc *ifc, int, char**)
|
|||
lb->f = ifc->conv->p->f;
|
||||
lb->q = qopen(1024*1024, Qmsg, nil, nil);
|
||||
ifc->arg = lb;
|
||||
ifc->mbps = 1000;
|
||||
|
||||
kproc("loopbackread", loopbackread, ifc);
|
||||
|
||||
|
|
Loading…
Reference in a new issue