diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/cz.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/cz.c b/sys/dev/pci/cz.c index c6ed06e600e..8642be135fc 100644 --- a/sys/dev/pci/cz.c +++ b/sys/dev/pci/cz.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cz.c,v 1.24 2020/05/21 09:31:59 mpi Exp $ */ +/* $OpenBSD: cz.c,v 1.25 2021/01/01 10:21:26 jan Exp $ */ /* $NetBSD: cz.c,v 1.15 2001/01/20 19:10:36 thorpej Exp $ */ /*- @@ -835,7 +835,6 @@ cz_wait_pci_doorbell(struct cz_softc *cz, char *wstring) #define CZTTYDIALOUT_MASK 0x80 -#define CZTTY_DIALOUT(dev) (minor((dev)) & CZTTYDIALOUT_MASK) #define CZTTY_CZ(sc) ((sc)->sc_parent) #define CZTTY_SOFTC(dev) cztty_getttysoftc(dev) @@ -1034,10 +1033,6 @@ czttyopen(dev_t dev, int flags, int mode, struct proc *p) splx(s); - error = ttyopen(CZTTY_DIALOUT(dev), tp, p); - if (error) - goto bad; - error = (*linesw[tp->t_line].l_open)(dev, tp, p); if (error) goto bad; |