]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/cpu/perf_event_amd_iommu.c
perf/x86/amd: Do not print an error when the device is not present
[karo-tx-linux.git] / arch / x86 / kernel / cpu / perf_event_amd_iommu.c
index 0db655ef39188917c4d114cf509ba783513cff2e..639d1289b1ba9a16cc7b9684d3697f5b79df0d27 100644 (file)
@@ -491,10 +491,8 @@ static struct perf_amd_iommu __perf_iommu = {
 static __init int amd_iommu_pc_init(void)
 {
        /* Make sure the IOMMU PC resource is available */
-       if (!amd_iommu_pc_supported()) {
-               pr_err("perf: amd_iommu PMU not installed. No support!\n");
+       if (!amd_iommu_pc_supported())
                return -ENODEV;
-       }
 
        _init_perf_amd_iommu(&__perf_iommu, "amd_iommu");