Skip to content
Commit 082ae1e1 authored by Tobias Klauser's avatar Tobias Klauser Committed by Vineet Gupta
Browse files

ARC: perf: Remove unnecessary local variable



Directly return the result of perf_pmu_register() in
arc_pmu_device_probe() instead of assigning and returning variable ret.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 7002f775
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment