staging: dgap: remove unneeded kfree() in dgap_tty_register_ports()
authorDaeseok Youn <daeseok.youn@gmail.com>
Mon, 26 May 2014 10:24:17 +0000 (19:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 May 2014 17:35:24 +0000 (10:35 -0700)
When it failed to allocate for printer_ports, serial_ports
can be freed in dgap_tty_uninit().

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c

Simple merge