summaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2018-08-13 16:01:14 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2018-08-27 12:12:04 -0400
commit6f2f39ad1a54978394851c05e327419ebeb7227e (patch)
treefba00f60fdc3dd34655a5498ff4328166047f019 /drivers/block/xen-blkback
parentd77ff24e7fa2258877fa0b87efa06b9a58a37aab (diff)
downloadblackbird-obmc-linux-6f2f39ad1a54978394851c05e327419ebeb7227e.tar.gz
blackbird-obmc-linux-6f2f39ad1a54978394851c05e327419ebeb7227e.zip
xen/blkback: remove unused pers_gnts_lock from struct xen_blkif_ring
pers_gnts_lock isn't being used anywhere. Remove it. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Roger Pau Monné <roger.pau@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkback')
-rw-r--r--drivers/block/xen-blkback/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h
index 2339b8d39c5e..1d3002d773f7 100644
--- a/drivers/block/xen-blkback/common.h
+++ b/drivers/block/xen-blkback/common.h
@@ -269,7 +269,6 @@ struct xen_blkif_ring {
wait_queue_head_t pending_free_wq;
/* Tree to store persistent grants. */
- spinlock_t pers_gnts_lock;
struct rb_root persistent_gnts;
unsigned int persistent_gnt_c;
atomic_t persistent_gnt_in_use;
OpenPOWER on IntegriCloud