s390/cpum_cf: make hw_perf_event_update() a void function
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Mon, 20 Feb 2017 15:10:38 +0000 (16:10 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 31 Mar 2017 05:53:35 +0000 (07:53 +0200)
commit485527ba578254bb1171b13c55394257fd63cd59
tree9d6af0f2aa5b84fee8404d4714c966ef0977f04f
parent26f268ac682854345531325c7c0d803b8c573228
s390/cpum_cf: make hw_perf_event_update() a void function

The return code of hw_perf_event_update() is not evaluated by
its callers.  Hence, simplify the function by removing the
return code.

Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/perf_cpum_cf.c