summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2003-05-19 00:36:13 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2003-05-19 00:36:13 +0000
commit39b20503c771788563ad192a00c178bbcac6863a (patch)
treec29043a88862eba267781e3a69bee38161d2f91a /sys/dev/usb
parent50b56d53910f002c51fdbf0b763f30eef6b66d52 (diff)
nuke unused variable, from NetBSD
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/umct.c7
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))