]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbfce47707305885acd5e66dc7960f21b9bb9e724
tree809964988d67ee63c62fdc4f2a802c2b9c3c7451
parentd53dba49316d0e1071426281bfbb7a544a4bdac0
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