summaryrefslogtreecommitdiff
path: root/sys/src/9/sgi
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-12-09 22:07:32 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2017-12-09 22:07:32 +0100
commit35bc3ac5735bd0edff45b68465de710ff61d2385 (patch)
treeb331ab7c7a7a0d7f936a9902c7bea13e12b38c19 /sys/src/9/sgi
parenta7ac020664f1de870b09807086565030246ad6fb (diff)
devether: remove duplicated parseether() implementation (pull from libip)
Diffstat (limited to 'sys/src/9/sgi')
-rw-r--r--sys/src/9/sgi/devether.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/sys/src/9/sgi/devether.c b/sys/src/9/sgi/devether.c
index 0902953cf..6339b99ef 100644
--- a/sys/src/9/sgi/devether.c
+++ b/sys/src/9/sgi/devether.c
@@ -340,29 +340,6 @@ addethercard(char* t, int (*r)(Ether*))
ncard++;
}
-int
-parseether(uchar *to, char *from)
-{
- char nip[4];
- char *p;
- int i;
-
- p = from;
- for(i = 0; i < Eaddrlen; i++){
- if(*p == 0)
- return -1;
- nip[0] = *p++;
- if(*p == 0)
- return -1;
- nip[1] = *p++;
- nip[2] = 0;
- to[i] = strtoul(nip, 0, 16);
- if(*p == ':')
- p++;
- }
- return 0;
-}
-
static Ether*
etherprobe(int cardno, int ctlrno)
{