PERFORCE change 133506 for review
Scott Long
scottl at FreeBSD.org
Thu Jan 17 14:05:49 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=133506
Change 133506 by scottl at scottl-ix on 2008/01/17 22:05:01
Remove an unused mutex.
Affected files ...
.. //depot/projects/xen31/sys/dev/xen/blkfront/blkfront.c#12 edit
Differences ...
==== //depot/projects/xen31/sys/dev/xen/blkfront/blkfront.c#12 (text+ko) ====
@@ -109,8 +109,6 @@
#define MAXIMUM_OUTSTANDING_BLOCK_REQS \
(BLKIF_MAX_SEGMENTS_PER_REQUEST * BLK_RING_SIZE)
-static struct mtx blkif_io_block_lock;
-
static void kick_pending_request_queues(struct blkfront_info *);
static int blkif_open(struct disk *dp);
static int blkif_close(struct disk *dp);
@@ -234,7 +232,6 @@
{
int err, vdevice, i;
struct blkfront_info *info;
-
/* FIXME: Use dynamic device id if this is not set. */
err = xenbus_scanf(XBT_NIL, dev->nodename,
@@ -1004,7 +1001,6 @@
}
MTX_SYSINIT(ioreq, &blkif_io_lock, "BIO LOCK", MTX_NOWITNESS); /* XXX how does one enroll a lock? */
-MTX_SYSINIT(ioreq_block, &blkif_io_block_lock, "BIO BLOCK LOCK", MTX_SPIN | MTX_NOWITNESS);
SYSINIT(xbdev, SI_SUB_PSEUDO, SI_ORDER_SECOND, xenbus_init, NULL);
More information about the p4-projects
mailing list