staging: dgap: remove useless variable
authorDaeseok Youn <daeseok.youn@gmail.com>
Sat, 9 Aug 2014 05:36:44 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:05 +0000 (12:23 -0700)
commit83d24f82293eaa32f0f5679c743d9168cd74cad8
tree712e75361c13ebe024611263a806dab0b11a8ac0
parent99a643b8aebb91d1dba8dff6c0e416dfd1140b07
staging: dgap: remove useless variable

dgap_major_serial_registered and dgap_major_transparent_print_registered
could be checked whether a board is initialized.
But it doesn't need to check that variables becasue dgap module
isn't calling the dgap_cleanup_tty() without initializing
for a board completely.

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