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: NTobias Klauser <tklauser@distanz.ch> Signed-off-by: NVineet Gupta <vgupta@synopsys.com>
Showing
想要评论请 注册 或 登录