commit | 082ae1e1570c69a06221701718f548bd4000b95b | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Fri Apr 24 10:27:34 2015 +0200 |
committer | Vineet Gupta <vgupta@synopsys.com> | Fri Jun 19 18:09:28 2015 +0530 |
tree | afa10dc5374407b5705b643f1c9509df6dff4d76 | |
parent | 7002f77541f877a5590615ceb3da32b114f14b62 [diff] |
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>