summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-09-17 19:24:58 +0000
committerphk <phk@FreeBSD.org>2004-09-17 19:24:58 +0000
commit3179421dfdb2ae928b702aa742096af9f6376310 (patch)
tree82d653d3a2ec4044b86005e82283b2bc26cd402f /sys/dev
parent3f2f99f7d2a1ab5fe9473bf348ac8110afa27006 (diff)
downloadFreeBSD-src-3179421dfdb2ae928b702aa742096af9f6376310.zip
FreeBSD-src-3179421dfdb2ae928b702aa742096af9f6376310.tar.gz
Fix compilation again.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/ucom.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c
index 643ffa6..76e07f1 100644
--- a/sys/dev/usb/ucom.c
+++ b/sys/dev/usb/ucom.c
@@ -249,7 +249,6 @@ ucomopen(struct tty *tp, struct cdev *dev)
{
struct ucom_softc *sc;
usbd_status err;
- int s;
int error;
sc = tp->t_sc;
@@ -270,7 +269,6 @@ ucomopen(struct tty *tp, struct cdev *dev)
sc->sc_portno);
if (error) {
ucom_cleanup(sc);
- splx(s);
return (error);
}
}
@@ -336,7 +334,6 @@ ucomopen(struct tty *tp, struct cdev *dev)
return (0);
fail:
- splx(s);
ucom_cleanup(sc);
return (error);
}
OpenPOWER on IntegriCloud