Skip to content

Commit 6f2f39a

Browse files
jgross1konradwilk
authored andcommitted
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>
1 parent d77ff24 commit 6f2f39a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/block/xen-blkback/common.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ struct xen_blkif_ring {
269269
wait_queue_head_t pending_free_wq;
270270

271271
/* Tree to store persistent grants. */
272-
spinlock_t pers_gnts_lock;
273272
struct rb_root persistent_gnts;
274273
unsigned int persistent_gnt_c;
275274
atomic_t persistent_gnt_in_use;

0 commit comments

Comments
 (0)