diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-07-16 01:23:12 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-07-16 01:23:12 +0000 |
commit | 8be77028876ba518d7fb5a9ef1b1c2dc6ff6680d (patch) | |
tree | c2f99b3bcf1488a73a07f50ddaa3260c9be5e4b5 /sys/dev/pci | |
parent | f9973bae0f7460e1c4f084786f4dfc939a122595 (diff) |
gc sc_lock. it is unused. ioctl commands can run concurrently now that
iopools handle sleeping for ccbs.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/mpii.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c index a2cbc9934cf..d07a910363b 100644 --- a/sys/dev/pci/mpii.c +++ b/sys/dev/pci/mpii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpii.c,v 1.33 2010/07/15 23:52:32 dlg Exp $ */ +/* $OpenBSD: mpii.c,v 1.34 2010/07/16 01:23:11 dlg Exp $ */ /* * Copyright (c) 2010 Mike Belopuhov <mkb@crypt.org.ru> * Copyright (c) 2009 James Giannoules @@ -1843,8 +1843,6 @@ struct mpii_softc { /* scsi ioctl from sd device */ int (*sc_ioctl)(struct device *, u_long, caddr_t); - struct rwlock sc_lock; - int sc_nsensors; struct ksensor *sc_sensors; struct ksensordev sc_sensordev; @@ -2162,8 +2160,6 @@ mpii_attach(struct device *parent, struct device *self, void *aux) goto free_dev; } - rw_init(&sc->sc_lock, "mpii_lock"); - /* we should be good to go now, attach scsibus */ sc->sc_link.adapter = &mpii_switch; sc->sc_link.adapter_softc = sc; |