diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2020-10-21 09:58:44 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-10-21 09:58:44 -0500 |
commit | 4c0e51f8054c82065dca9669739573390f25743c (patch) | |
tree | 20664adb86b524cd74fc1e60eee08c4eb79ee9e1 /drivers | |
parent | a2340daa6a8c767099edf38492f2bebc19f65b69 (diff) | |
parent | 026b940f18bc531b2bf33a1f4ae47a2970597947 (diff) | |
download | linux-4c0e51f8054c82065dca9669739573390f25743c.tar.bz2 |
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')
-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) { |