Commit-ID: 65f64110766055e84aca78187fec52e0cdfdf035 Gitweb: http://git.kernel.org/tip/65f64110766055e84aca78187fec52e0cdfdf035 Author: Asias He <asias.hejun@xxxxxxxxx> AuthorDate: Fri, 25 May 2012 18:23:50 +0800 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Fri, 25 May 2012 13:42:39 +0300 kvm tools: Remove unused req_mutex variable. The req_mutex was used to protect the request list. In commit b7b038d, I removed the use of the virtio_blk_req_{pop, push} which needs the req_mutex, but I forgot to remove the req_mutex. So remove it now. Signed-off-by: Asias He <asias.hejun@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/virtio/blk.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/tools/kvm/virtio/blk.c b/tools/kvm/virtio/blk.c index b061307..da92094 100644 --- a/tools/kvm/virtio/blk.c +++ b/tools/kvm/virtio/blk.c @@ -38,7 +38,6 @@ struct blk_dev_req { struct blk_dev { pthread_mutex_t mutex; - pthread_mutex_t req_mutex; struct list_head list; struct list_head req_list; @@ -229,7 +228,6 @@ static int virtio_blk__init_one(struct kvm *kvm, struct disk_image *disk) *bdev = (struct blk_dev) { .mutex = PTHREAD_MUTEX_INITIALIZER, - .req_mutex = PTHREAD_MUTEX_INITIALIZER, .disk = disk, .blk_config = (struct virtio_blk_config) { .capacity = disk->size / SECTOR_SIZE, -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html