mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Fix compilation again.
This commit is contained in:
parent
27df52f999
commit
dfcb390b5b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135394
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user