]> xenbits.xensource.com Git - xen.git/commitdiff
gnttab: remove unused shared header lookup
authorMatthew Daley <mattjd@gmail.com>
Fri, 20 Sep 2013 09:40:00 +0000 (11:40 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 Sep 2013 09:40:00 +0000 (11:40 +0200)
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>
xen/common/grant_table.c

index eb50288c4fd08e443b1ec23853d1d7ad0ce47cbb..f42bc7a5583c6f5daff3b6256c76cb1e746c0ce6 100644 (file)
@@ -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) ?