alpha: remove redundant err variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Mon, 10 Jan 2022 01:29:54 +0000 (01:29 +0000)
committerMatt Turner <mattst88@gmail.com>
Tue, 14 Feb 2023 17:36:10 +0000 (12:36 -0500)
commitd7cf43edebe577c58c7858cf61b03d618d4336cf
tree1b1850b15e499d15b1e37cdd7cdf159a8dcd16d4
parent019f48dc8eba723d2201679b804f4600e816604a
alpha: remove redundant err variable

Return value from __hw_perf_event_init() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/kernel/perf_event.c