aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common
diff options
context:
space:
mode:
authorMatthew Daley <mattjd@gmail.com>2013-09-20 11:40:00 +0200
committerJan Beulich <jbeulich@suse.com>2013-09-20 11:40:00 +0200
commit5ae3285f247e04db6145fc658e5ea2c2cb2df7c6 (patch)
tree43551aab489f4538506fdf49d1ac96fe4ddbc566 /xen/common
parent5e5a44b6c942d6ea47f15d6f1ed02b03e0d69445 (diff)
downloadxen-5ae3285f247e04db6145fc658e5ea2c2cb2df7c6.tar.gz
xen-5ae3285f247e04db6145fc658e5ea2c2cb2df7c6.tar.bz2
xen-5ae3285f247e04db6145fc658e5ea2c2cb2df7c6.zip
gnttab: remove unused shared header lookup
Coverity-ID: 1056171 Signed-off-by: Matthew Daley <mattjd@gmail.com> Reviewed-by: Tim Deegan <tim@xen.org> Reviewed-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/common')
-rw-r--r--xen/common/grant_table.c1
1 files changed, 0 insertions, 1 deletions
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) ?