summaryrefslogtreecommitdiff
path: root/drivers/block/xen-blkback/common.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2018-08-13 17:01:14 +0300
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2018-08-27 19:12:04 +0300
commit6f2f39ad1a54978394851c05e327419ebeb7227e (patch)
treefba00f60fdc3dd34655a5498ff4328166047f019 /drivers/block/xen-blkback/common.h
parentd77ff24e7fa2258877fa0b87efa06b9a58a37aab (diff)
downloadlinux-6f2f39ad1a54978394851c05e327419ebeb7227e.tar.xz
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/common.h')
-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;