diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-05-20 09:33:53 +0100 |
---|---|---|
committer | Olaf Hering <olaf@aepfle.de> | 2011-05-20 09:33:53 +0100 |
commit | 7ae23d20b714160bd08f1d83d0f4aaf3937a56bb (patch) | |
tree | 09253761a023aeb9ad90ff197bb0587c04946cbe /xen/common/grant_table.c | |
parent | b8eb4655dec9e14b9a8ee88dccd697f7c927135f (diff) | |
download | xen-7ae23d20b714160bd08f1d83d0f4aaf3937a56bb.tar.gz xen-7ae23d20b714160bd08f1d83d0f4aaf3937a56bb.tar.bz2 xen-7ae23d20b714160bd08f1d83d0f4aaf3937a56bb.zip |
xen: Remove some initialised but otherwise unused variables.
Fixes the build under gcc-4.6 -Werror=unused-but-set-variable
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Diffstat (limited to 'xen/common/grant_table.c')
-rw-r--r-- | xen/common/grant_table.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 1c5f52ee3a..7090dfb5c4 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -765,7 +765,6 @@ __gnttab_unmap_common( struct domain *ld, *rd; struct active_grant_entry *act; s16 rc = 0; - u32 old_pin; ld = current->domain; @@ -811,7 +810,6 @@ __gnttab_unmap_common( spin_lock(&rd->grant_table->lock); act = &active_entry(rd->grant_table, op->map->ref); - old_pin = act->pin; if ( op->frame == 0 ) { |