From 5ae3285f247e04db6145fc658e5ea2c2cb2df7c6 Mon Sep 17 00:00:00 2001 From: Matthew Daley Date: Fri, 20 Sep 2013 11:40:00 +0200 Subject: gnttab: remove unused shared header lookup Coverity-ID: 1056171 Signed-off-by: Matthew Daley Reviewed-by: Tim Deegan Reviewed-by: Jan Beulich --- xen/common/grant_table.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xen/common') diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index eb50288c4f..f42bc7a558 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -783,7 +783,6 @@ __gnttab_map_grant_ref( spin_lock(&rgt->lock); act = &active_entry(rgt, op->ref); - shah = shared_entry_header(rgt, op->ref); if ( op->flags & GNTMAP_device_map ) act->pin -= (op->flags & GNTMAP_readonly) ? -- cgit v1.2.3