diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-11-15 22:27:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2011-11-15 22:27:54 +0000 |
commit | 7d501144194e45646a9b40ab87d4313a80408531 (patch) | |
tree | bdc9232e49f14d4782df07f168350888857055ec /sys/dev/puc/com_puc.c | |
parent | 6c1d993ab3048631209562f45bbd8cbb45b1196e (diff) |
Simplify various parts of the puc(4) attachment code. Tested lightly
by krw and myself.
Diffstat (limited to 'sys/dev/puc/com_puc.c')
-rw-r--r-- | sys/dev/puc/com_puc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/puc/com_puc.c b/sys/dev/puc/com_puc.c index ca5dcde6801..d0bba48fbf1 100644 --- a/sys/dev/puc/com_puc.c +++ b/sys/dev/puc/com_puc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_puc.c,v 1.19 2011/10/25 20:02:20 deraadt Exp $ */ +/* $OpenBSD: com_puc.c,v 1.20 2011/11/15 22:27:53 deraadt Exp $ */ /* * Copyright (c) 1997 - 1999, Jason Downs. All rights reserved. @@ -107,12 +107,6 @@ com_puc_attach(parent, self, aux) else sc->sc_frequency = COM_FREQ * (1 << PUC_COM_GET_POW2(pa->type)); - if (pa->hwtype) - sc->sc_uarttype = pa->hwtype; - - sc->sc_hwflags = 0; - sc->sc_swflags = 0; - com_attach_subr(sc); } |