]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/events/intel/uncore.c
Merge branch 'acpica-fixes'
[karo-tx-linux.git] / arch / x86 / events / intel / uncore.c
index 16c1789164122b70f6d2cd4ad16ae18b741236aa..fce74062d9812031b491d997f1e995578ccf8af9 100644 (file)
@@ -891,7 +891,7 @@ static int uncore_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id
                return -ENODEV;
 
        pkg = topology_phys_to_logical_pkg(phys_id);
-       if (WARN_ON_ONCE(pkg < 0))
+       if (pkg < 0)
                return -EINVAL;
 
        if (UNCORE_PCI_DEV_TYPE(id->driver_data) == UNCORE_EXTRA_PCI_DEV) {