Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10c25023 authored by Robert Richter's avatar Robert Richter Committed by Ingo Molnar
Browse files

perf: Trivial cleanup of duplicate code

parent 3dbe927b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -484,9 +484,6 @@ static int __x86_pmu_event_init(struct perf_event *event)

	/* mark unused */
	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;

	return x86_pmu.hw_config(event);