]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: perf: Remove unnecessary local variable
authorTobias Klauser <tklauser@distanz.ch>
Fri, 24 Apr 2015 08:27:34 +0000 (10:27 +0200)
committerVineet Gupta <vgupta@synopsys.com>
Fri, 19 Jun 2015 12:39:28 +0000 (18:09 +0530)
commit496f7754f91697a64167cf3653c34c1b4a114717
treeafa10dc5374407b5705b643f1c9509df6dff4d76
parent2794612b9dfba0e0493700cde80d308fb44633f8
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: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/kernel/perf_event.c