From: dlg Date: Fri, 16 Jul 2010 01:23:11 +0000 (+0000) Subject: gc sc_lock. it is unused. ioctl commands can run concurrently now that X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1a48b27c6094e77fbdeffcce39d4b1c9ecc336c1;p=openbsd gc sc_lock. it is unused. ioctl commands can run concurrently now that iopools handle sleeping for ccbs. --- 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 * 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;