From dfcb390b5bc7c2ca8cfd4ec2a1a8a425dcda2a23 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 17 Sep 2004 19:24:58 +0000 Subject: [PATCH] Fix compilation again. --- sys/dev/usb/ucom.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index 643ffa61226..76e07f10e29 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); }