OSDN Git Service

s390/cpumf: remove superfluous nr_cpumask_bits check
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 21 Sep 2017 12:43:10 +0000 (14:43 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 28 Sep 2017 05:29:43 +0000 (07:29 +0200)
commit19220999790a5a67bf954f19e9115c68e889cd11
tree809964988d67ee63c62fdc4f2a802c2b9c3c7451
parent76b3138192e6ffec334269b1426fd0d100ba962b
s390/cpumf: remove superfluous nr_cpumask_bits check

Paul Burton reported that the nr_cpumask_bits check
within cpumsf_pmu_event_init() is not necessary.

Actually there is already a prior check within
perf_event_alloc(). Therefore remove the check.

Reported-by: Paul Burton <paul.burton@imgtec.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/perf_cpum_sf.c