summaryrefslogtreecommitdiffstats
path: root/net/unix
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-08-07 21:47:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-10 13:27:51 -0700
commitfbf1c247dac8574ef3973adce4b20d40ff22214e (patch)
tree0b7e03cc3a89eaa237e5ab4aeb2f48034bbd85fa /net/unix
parent3140bae26c9105b4ec8ff4935631f2f09882553d (diff)
downloadlinux-fbf1c247dac8574ef3973adce4b20d40ff22214e.tar.gz
linux-fbf1c247dac8574ef3973adce4b20d40ff22214e.tar.bz2
linux-fbf1c247dac8574ef3973adce4b20d40ff22214e.zip
misc: pti, fix fail paths
Fail paths in ->probe and pti_init are incomplete. Fix that by adding proper clean-up paths. Note that we used to leak tty_driver on module unload. This is fixed here too. tty_unregister_driver needs not retval checking, so remove that. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: J Freyensee <james_p_freyensee@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions