summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2023-10-28 21:31:02 +0300
committerBjorn Helgaas <bhelgaas@google.com>2023-10-28 21:31:02 +0300
commita4179c60a993671b52b5ff32a783316c6a7a2f9a (patch)
treeb320162c0320a6733496be5c45e074e5c13d8d40 /drivers/pci
parentd97ab9e5330dc14cc3692167f26bf664fce4c75a (diff)
parent4c64d708f99378e6719294cc63a77adf8eeb82b4 (diff)
downloadlinux-a4179c60a993671b52b5ff32a783316c6a7a2f9a.tar.xz
Merge branch 'pci/controller/vmd'
- Fix space/tab whitespace issue (Xinghui Li) * pci/controller/vmd: PCI: vmd: Fix inconsistent indentation in vmd_resume()
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/controller/vmd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pci/controller/vmd.c b/drivers/pci/controller/vmd.c
index 566721c41f3e..94ba61fe1c44 100644
--- a/drivers/pci/controller/vmd.c
+++ b/drivers/pci/controller/vmd.c
@@ -1077,10 +1077,7 @@ static int vmd_resume(struct device *dev)
struct vmd_dev *vmd = pci_get_drvdata(pdev);
int err, i;
- if (vmd->irq_domain)
- vmd_set_msi_remapping(vmd, true);
- else
- vmd_set_msi_remapping(vmd, false);
+ vmd_set_msi_remapping(vmd, !!vmd->irq_domain);
for (i = 0; i < vmd->msix_count; i++) {
err = devm_request_irq(dev, vmd->irqs[i].virq,