diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-05-23 08:24:37 (GMT) |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-05-23 08:24:31 (GMT) |
commit | 1b60f68f6674ecc5c86f7dfe7e87941bc4236b9b (patch) | |
tree | 7e465e4a294f6f9cca5938d7b5865b7857a965ab /drivers/s390/char/sclp_config.c | |
parent | 0f1959f50646612b247d624bdbf8b0c8816f2a93 (diff) | |
download | linux-1b60f68f6674ecc5c86f7dfe7e87941bc4236b9b.tar.xz |
[S390] sclp: remove unnecessary sendmask check
The sendmask check is not needed. Remove it.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/char/sclp_config.c')
-rw-r--r-- | drivers/s390/char/sclp_config.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/s390/char/sclp_config.c b/drivers/s390/char/sclp_config.c index 16e232a..95b909a 100644 --- a/drivers/s390/char/sclp_config.c +++ b/drivers/s390/char/sclp_config.c @@ -71,21 +71,9 @@ static struct sclp_register sclp_conf_register = static int __init sclp_conf_init(void) { - int rc; - INIT_WORK(&sclp_cpu_capability_work, sclp_cpu_capability_notify); INIT_WORK(&sclp_cpu_change_work, sclp_cpu_change_notify); - - rc = sclp_register(&sclp_conf_register); - if (rc) - return rc; - - if (!(sclp_conf_register.sclp_send_mask & EVTYP_CONFMGMDATA_MASK)) { - pr_warning("no configuration management.\n"); - sclp_unregister(&sclp_conf_register); - rc = -ENOSYS; - } - return rc; + return sclp_register(&sclp_conf_register); } __initcall(sclp_conf_init); |