[S390] Cleanup 3270 printk messages.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
This commit is contained in:
parent
8df22b4b39
commit
a26182ed71
3 changed files with 1 additions and 8 deletions
|
@ -512,11 +512,8 @@ fs3270_init(void)
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
rc = register_chrdev(IBM_FS3270_MAJOR, "fs3270", &fs3270_fops);
|
rc = register_chrdev(IBM_FS3270_MAJOR, "fs3270", &fs3270_fops);
|
||||||
if (rc) {
|
if (rc)
|
||||||
printk(KERN_ERR "fs3270 can't get major number %d: errno %d\n",
|
|
||||||
IBM_FS3270_MAJOR, rc);
|
|
||||||
return rc;
|
return rc;
|
||||||
}
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -610,7 +610,6 @@ __raw3270_size_device_vm(struct raw3270 *rp)
|
||||||
rp->cols = 132;
|
rp->cols = 132;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printk(KERN_WARNING "vrdccrmd is 0x%.8x\n", model);
|
|
||||||
rc = -EOPNOTSUPP;
|
rc = -EOPNOTSUPP;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1792,15 +1792,12 @@ static int __init tty3270_init(void)
|
||||||
tty_set_operations(driver, &tty3270_ops);
|
tty_set_operations(driver, &tty3270_ops);
|
||||||
ret = tty_register_driver(driver);
|
ret = tty_register_driver(driver);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printk(KERN_ERR "tty3270 registration failed with %d\n", ret);
|
|
||||||
put_tty_driver(driver);
|
put_tty_driver(driver);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
tty3270_driver = driver;
|
tty3270_driver = driver;
|
||||||
ret = raw3270_register_notifier(tty3270_notifier);
|
ret = raw3270_register_notifier(tty3270_notifier);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
printk(KERN_ERR "tty3270 notifier registration failed "
|
|
||||||
"with %d\n", ret);
|
|
||||||
put_tty_driver(driver);
|
put_tty_driver(driver);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue