projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'tomoyo-pr-20210628' of git://git.osdn.net/gitroot/tomoyo/tomoyo-test1
[linux-2.6-microblaze.git]
/
drivers
/
perf
/
thunderx2_pmu.c
diff --git
a/drivers/perf/thunderx2_pmu.c
b/drivers/perf/thunderx2_pmu.c
index
06a6d56
..
fc1a376
100644
(file)
--- a/
drivers/perf/thunderx2_pmu.c
+++ b/
drivers/perf/thunderx2_pmu.c
@@
-817,10
+817,8
@@
static struct tx2_uncore_pmu *tx2_uncore_pmu_init_dev(struct device *dev,
}
base = devm_ioremap_resource(dev, &res);
- if (IS_ERR(base)) {
- dev_err(dev, "PMU type %d: Fail to map resource\n", type);
+ if (IS_ERR(base))
return NULL;
- }
tx2_pmu = devm_kzalloc(dev, sizeof(*tx2_pmu), GFP_KERNEL);
if (!tx2_pmu)