From: Matthew Daley Date: Fri, 20 Sep 2013 09:40:00 +0000 (+0200) Subject: gnttab: remove unused shared header lookup X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6316 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5ae3285f247e04db6145fc658e5ea2c2cb2df7c6;p=xen.git gnttab: remove unused shared header lookup Coverity-ID: 1056171 Signed-off-by: Matthew Daley Reviewed-by: Tim Deegan Reviewed-by: Jan Beulich --- 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) ?