]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/src/9/omap/devuart.c
devether: remove duplicated parseether() implementation (pull from libip)
[plan9front.git] / sys / src / 9 / omap / devuart.c
index af7ed000560f0ebbfa347778ffd961b93d9cb7e6..59abbcbe59ca26478cd725a3d7c7105223480fba 100644 (file)
@@ -124,33 +124,6 @@ uartdisable(Uart *p)
        iunlock(&uartalloc);
 }
 
-void
-uartmouse(Uart* p, int (*putc)(Queue*, int), int setb1200)
-{
-       qlock(p);
-       if(p->opens++ == 0 && uartenable(p) == nil){
-               qunlock(p);
-               error(Enodev);
-       }
-       if(setb1200)
-               uartctl(p, "b1200");
-       p->putc = putc;
-       p->special = 1;
-       qunlock(p);
-}
-
-void
-uartsetmouseputc(Uart* p, int (*putc)(Queue*, int))
-{
-       qlock(p);
-       if(p->opens == 0 || p->special == 0){
-               qunlock(p);
-               error(Enodev);
-       }
-       p->putc = putc;
-       qunlock(p);
-}
-
 static void
 setlength(int i)
 {