xen: arm: drop redundant extra call to vgic_reserve_virq
authorIan Campbell <ian.campbell@citrix.com>
Tue, 7 Jul 2015 08:46:15 +0000 (09:46 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 7 Jul 2015 14:10:44 +0000 (15:10 +0100)
commiteed5e395e068fe1df46eee91d2ab0428fb8b5f42
tree7dc19957bde44e8a239e6b300e87603affc54d23
parentf9d08f49dc03debdda8ae80b4ecb12f393df459b
xen: arm: drop redundant extra call to vgic_reserve_virq

This is only needed if we are giving the IRQ to dom0 (as opposed to
setting it up for passthrough due to xen,passthrough property). There
is already a call to vgic_reserve_virq inside the if ( need_mapping ),
so drop this one.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Julien Grall <julien.grall@citrix.com>
xen/arch/arm/domain_build.c