]> xenbits.xensource.com Git - xen.git/commitdiff
x86/physdev: Remove redundant assignment in allocate_and_map_msi_pirq()
authorZhenzhong Duan <zhenzhong.duan@oracle.com>
Fri, 20 Jul 2018 09:29:34 +0000 (02:29 -0700)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 23 Jul 2018 10:11:02 +0000 (11:11 +0100)
No functional change.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/irq.c

index 87ef2e801f2f3bb89d281ae980d9d3c01b64c838..7d0b19f2d2f3042a35f633f8632a862913e5f844 100644 (file)
@@ -2690,8 +2690,6 @@ int allocate_and_map_msi_pirq(struct domain *d, int index, int *pirq_p,
                     d->domain_id);
             return -EINVAL;
         }
-
-        msi->irq = irq;
         break;
 
     default: