staging: dgnc: remove redundant variable null check
authorDaeseok Youn <daeseok.youn@gmail.com>
Wed, 6 Jul 2016 06:13:14 +0000 (15:13 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 17:06:09 +0000 (19:06 +0200)
commit18419f77a22ae8d3b9330c83f6d09e0e66d2d755
tree1c68c822f2489e4ffd21230f6e6d1915431dd3aa
parent3ca4b20a765f4429e5c2795fcae1a3ce312f075b
staging: dgnc: remove redundant variable null check

The unit struct(un_t) was not used in dgnc_tty_hangup().

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