summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorMark Rutland <Mark.Rutland@arm.com>2013-01-18 16:10:06 +0000
committerWill Deacon <will.deacon@arm.com>2013-01-18 16:54:30 +0000
commit9dcbf466559f6f2f55d60eb5a1bbebc8e694b52a (patch)
tree885c469162ee1e518ca8715cef9dd58536991bf3 /arch/tile
parent8f3b90b585d3e879b03ce2a202da04d59dd5b699 (diff)
downloadtalos-obmc-linux-9dcbf466559f6f2f55d60eb5a1bbebc8e694b52a.tar.gz
talos-obmc-linux-9dcbf466559f6f2f55d60eb5a1bbebc8e694b52a.zip
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>
Diffstat (limited to 'arch/tile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud