s390/cpum_sf: remove check on CPU being online
authorThomas Richter <tmricht@linux.ibm.com>
Fri, 23 Jun 2023 09:26:30 +0000 (11:26 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 4 Jul 2023 05:45:18 +0000 (07:45 +0200)
commit6aca56c024e42577c28706a85979a6967b9b5e97
tree2cf18a447e0a227cfeb18719965c1ffecd6ba858
parentb2534c28b23b099fc399021283ffaf9f40513abf
s390/cpum_sf: remove check on CPU being online

During sampling event initialization, a check is done if that
particular CPU the event is to be installed on is actually online.
This check is not necessary, as it is also performed in the
system call entry point. Therefore remove this check.
No functional change.

Signed-off-by: Thomas Richter <tmricht@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/perf_cpum_sf.c