diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2020-10-21 16:58:44 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-10-21 16:58:44 +0200 |
commit | 4c0e51f8054c82065dca9669739573390f25743c (patch) | |
tree | 20664adb86b524cd74fc1e60eee08c4eb79ee9e1 /drivers/pci | |
parent | Merge branch 'pci/vmd' (diff) | |
parent | PCI: xgene: Remove unused assignment to variable msi_val (diff) | |
download | linux-4c0e51f8054c82065dca9669739573390f25743c.tar.xz linux-4c0e51f8054c82065dca9669739573390f25743c.zip |
Merge branch 'remotes/lorenzo/pci/xgene'
- Remove unused assignment (Krzysztof WilczyĆski)
* remotes/lorenzo/pci/xgene:
PCI: xgene: Remove unused assignment to variable msi_val
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/controller/pci-xgene-msi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/controller/pci-xgene-msi.c b/drivers/pci/controller/pci-xgene-msi.c index 02271c6d17a1..2470782cb01a 100644 --- a/drivers/pci/controller/pci-xgene-msi.c +++ b/drivers/pci/controller/pci-xgene-msi.c @@ -493,8 +493,8 @@ static int xgene_msi_probe(struct platform_device *pdev) */ for (irq_index = 0; irq_index < NR_HW_IRQS; irq_index++) { for (msi_idx = 0; msi_idx < IDX_PER_GROUP; msi_idx++) - msi_val = xgene_msi_ir_read(xgene_msi, irq_index, - msi_idx); + xgene_msi_ir_read(xgene_msi, irq_index, msi_idx); + /* Read MSIINTn to confirm */ msi_val = xgene_msi_int_read(xgene_msi, irq_index); if (msi_val) { |