staging: dgap: cleanup duplicated warning message on dgap_tty_init()
authorDaeseok Youn <daeseok.youn@gmail.com>
Sat, 9 Aug 2014 05:37:39 +0000 (14:37 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:05 +0000 (12:23 -0700)
commit35edf11bed147a8fe1df529035ccb551d671916d
tree776fbb0d3e8d39eaa421048b094b191450815fd6
parent274d8b35f88079870f1691413be7ce4341d9f87b
staging: dgap: cleanup duplicated warning message on dgap_tty_init()

If true_count is not same with brd->nasync, warning messages are
printed. But it has duplicated messages within if statement.

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