diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-04-02 14:45:21 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-16 14:21:06 -0700 |
commit | 7d1c2858c49095ab748f55354b89dbd6b18d28b9 (patch) | |
tree | 7775cf89d57cb642315ec515cb1111c56c6b08c7 /drivers/char/Kconfig | |
parent | f4f653e9875e573860e783fecbebde284a8626f5 (diff) | |
download | talos-op-linux-7d1c2858c49095ab748f55354b89dbd6b18d28b9.tar.gz talos-op-linux-7d1c2858c49095ab748f55354b89dbd6b18d28b9.zip |
ttyprintk: Fix wrong tty_unregister_driver() call in the error path
ttyprintk driver calls tty_unregister_driver() wrongly in the error
path of tty_register_driver(). Also, setting ttyprintk_driver to NULL
is utterly superfluous, so let's get rid of it, too.
Reported-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/char/Kconfig')
0 files changed, 0 insertions, 0 deletions