diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-04-02 16:45:21 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-17 01:21:06 +0400 |
commit | 7d1c2858c49095ab748f55354b89dbd6b18d28b9 (patch) | |
tree | 7775cf89d57cb642315ec515cb1111c56c6b08c7 /crypto/crct10dif_common.c | |
parent | f4f653e9875e573860e783fecbebde284a8626f5 (diff) | |
download | linux-7d1c2858c49095ab748f55354b89dbd6b18d28b9.tar.xz |
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 'crypto/crct10dif_common.c')
0 files changed, 0 insertions, 0 deletions