summaryrefslogtreecommitdiff
path: root/sys/src/9/ip/ethermedium.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-12-23 02:58:47 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2017-12-23 02:58:47 +0100
commit02b6831fa5cb1222e42d548bf9d34aec56a5593e (patch)
tree3a461385152f9666b23691a5c3b077dc88e2867d /sys/src/9/ip/ethermedium.c
parent47f40d8e261db4db5ce09bf06c45203abc862add (diff)
kernel: remove Ipifc.mbps, unused.
Diffstat (limited to 'sys/src/9/ip/ethermedium.c')
-rw-r--r--sys/src/9/ip/ethermedium.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/src/9/ip/ethermedium.c b/sys/src/9/ip/ethermedium.c
index 5853ceec0..346093795 100644
--- a/sys/src/9/ip/ethermedium.c
+++ b/sys/src/9/ip/ethermedium.c
@@ -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
*/