Skip to content
Snippets Groups Projects
Commit 10c25023 authored by Robert Richter's avatar Robert Richter Committed by Ingo Molnar
Browse files

perf: Trivial cleanup of duplicate code

parent 3dbe927b
No related branches found
No related tags found
No related merge requests found
...@@ -484,9 +484,6 @@ static int __x86_pmu_event_init(struct perf_event *event) ...@@ -484,9 +484,6 @@ static int __x86_pmu_event_init(struct perf_event *event)
/* mark unused */ /* mark unused */
event->hw.extra_reg.idx = EXTRA_REG_NONE; event->hw.extra_reg.idx = EXTRA_REG_NONE;
/* mark not used */
event->hw.extra_reg.idx = EXTRA_REG_NONE;
event->hw.branch_reg.idx = EXTRA_REG_NONE; event->hw.branch_reg.idx = EXTRA_REG_NONE;
return x86_pmu.hw_config(event); return x86_pmu.hw_config(event);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment