summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2004-07-22 02:40:22 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2004-07-22 02:40:22 +0000
commit65d87369d06ad06eeae9614d5badc3d2ca11c255 (patch)
tree625862d5f3d22de4844e1f041f73706b147a86fd /sys/dev
parent1537833022ff21d3056483919cfc0ec054c73b55 (diff)
remove an unused var
ok krw@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/umass_scsi.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/umass_scsi.c b/sys/dev/usb/umass_scsi.c
index 0b5b38c85de..7978b422f93 100644
--- a/sys/dev/usb/umass_scsi.c
+++ b/sys/dev/usb/umass_scsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umass_scsi.c,v 1.8 2004/07/21 07:43:41 dlg Exp $ */
+/* $OpenBSD: umass_scsi.c,v 1.9 2004/07/22 02:40:21 dlg Exp $ */
/* $NetBSD: umass_scsipi.c,v 1.9 2003/02/16 23:14:08 augustss Exp $ */
/*
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -175,15 +175,13 @@ umass_scsi_cmd(struct scsi_xfer *xs)
struct umass_softc *sc = sc_link->adapter_softc;
struct umass_scsi_softc *scbus = (struct umass_scsi_softc *)sc->bus;
- struct scsi_generic *cmd, trcmd;
+ struct scsi_generic *cmd;
int cmdlen, dir, s;
#ifdef UMASS_DEBUG
microtime(&sc->tv);
#endif
- memset(&trcmd, 0, sizeof(trcmd));
-
DIF(UDMASS_UPPER, sc_link->flags |= SCSIDEBUG_LEVEL);
DPRINTF(UDMASS_CMD, ("%s: umass_scsi_cmd: at %lu.%06lu: %d:%d "