summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2020-10-21 16:58:44 +0200
committerBjorn Helgaas <bhelgaas@google.com>2020-10-21 16:58:44 +0200
commit4c0e51f8054c82065dca9669739573390f25743c (patch)
tree20664adb86b524cd74fc1e60eee08c4eb79ee9e1 /drivers/pci
parentMerge branch 'pci/vmd' (diff)
parentPCI: xgene: Remove unused assignment to variable msi_val (diff)
downloadlinux-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.c4
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) {