diff options
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/umct.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/umct.c b/sys/dev/usb/umct.c index 6246e03fe87..adc52f129d4 100644 --- a/sys/dev/usb/umct.c +++ b/sys/dev/usb/umct.c @@ -1,5 +1,5 @@ -/* $OpenBSD: umct.c,v 1.7 2003/05/07 04:33:33 deraadt Exp $ */ -/* $NetBSD: umct.c,v 1.9 2002/09/23 05:51:23 simonb Exp $ */ +/* $OpenBSD: umct.c,v 1.8 2003/05/19 00:36:12 nate Exp $ */ +/* $NetBSD: umct.c,v 1.10 2003/02/23 04:20:07 simonb Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. * All rights reserved. @@ -588,7 +588,7 @@ umct_intr(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) { struct umct_softc *sc = priv; u_char *buf = sc->sc_intr_buf; - u_char mstatus, lstatus; + u_char mstatus; if (sc->sc_dying) return; @@ -608,7 +608,6 @@ umct_intr(usbd_xfer_handle xfer, usbd_private_handle priv, usbd_status status) sc->sc_lsr = sc->sc_msr = 0; mstatus = buf[0]; - lstatus = buf[1]; if (ISSET(mstatus, MSR_DSR)) sc->sc_msr |= UMSR_DSR; if (ISSET(mstatus, MSR_DCD)) |