staging: dgnc: remove redundant NULL check in
authorDaeseok Youn <daeseok.youn@gmail.com>
Tue, 5 Apr 2016 09:30:02 +0000 (18:30 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 00:46:00 +0000 (17:46 -0700)
commite47e7379ce3e03018619e994976b4059b790c955
tree7555cc4dcbb47d46a6c161a42b8235030dbdd02a
parent16f10a825da5b9361ef8e8da76720c37f0116da4
staging: dgnc: remove redundant NULL check in

There were already checking NULL about channel_t / un_t
before calling dgnc_maxcps_room().

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