Files
android_kernel_xiaomi_sm8450/arch/arm/kernel
Mark Rutland 9dcbf46655 ARM: perf: simplify __hw_perf_event_init err handling
Currently __hw_perf_event_init has an err variable that's ignored right
until the end, where it's initialised, conditionally set, and then used
as a boolean flag deciding whether to return another error code.

This patch removes the err variable and simplifies the associated error
handling logic.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2013-01-18 16:54:30 +00:00
..
2008-08-12 19:54:09 +01:00
2012-11-05 09:35:59 -08:00
2012-03-28 18:30:01 +01:00
2013-01-03 15:57:04 -08:00
2012-07-01 21:59:19 +08:00
2012-10-11 10:55:04 +01:00
2012-03-24 09:38:56 +00:00
2012-10-09 20:24:24 +02:00
2010-10-29 13:14:40 -05:00
2012-10-11 10:55:04 +01:00
2012-10-01 09:58:18 -04:00
2012-03-28 18:30:01 +01:00
2012-03-28 18:30:01 +01:00