mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
This commit is contained in:
1 parent
5e5a44b6c9
commit
5ae3285f24
1 file changed
-1
@@ -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) ?
|
||||
|
||||