summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ic/twe.c4
-rw-r--r--sys/dev/ic/twevar.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ic/twe.c b/sys/dev/ic/twe.c
index a6f8c79ae28..5b00863c69f 100644
--- a/sys/dev/ic/twe.c
+++ b/sys/dev/ic/twe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: twe.c,v 1.28 2007/10/20 16:10:09 krw Exp $ */
+/* $OpenBSD: twe.c,v 1.29 2008/07/24 19:03:08 thib Exp $ */
/*
* Copyright (c) 2000-2002 Michael Shalayeff. All rights reserved.
@@ -181,8 +181,6 @@ twe_attach(sc)
TAILQ_INIT(&sc->sc_free_ccb);
TAILQ_INIT(&sc->sc_done_ccb);
- lockinit(&sc->sc_lock, PWAIT, "twelk", 0, 0);
-
pa = sc->sc_cmdmap->dm_segs[0].ds_addr +
sizeof(struct twe_cmd) * (TWE_MAXCMDS - 1);
for (cmd = (struct twe_cmd *)sc->sc_cmds + TWE_MAXCMDS - 1;
diff --git a/sys/dev/ic/twevar.h b/sys/dev/ic/twevar.h
index 5ffce90ed99..b0e0f48036c 100644
--- a/sys/dev/ic/twevar.h
+++ b/sys/dev/ic/twevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: twevar.h,v 1.7 2005/09/15 05:33:39 krw Exp $ */
+/* $OpenBSD: twevar.h,v 1.8 2008/07/24 19:03:08 thib Exp $ */
/*
* Copyright (c) 2000 Michael Shalayeff
@@ -52,7 +52,6 @@ struct twe_softc {
struct device sc_dev;
void *sc_ih;
struct scsi_link sc_link;
- struct lock sc_lock;
struct proc *sc_thread;
int sc_thread_on;