summaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc/dgnc_driver.h
diff options
context:
space:
mode:
authorDaeseok Youn <daeseok.youn@gmail.com>2016-09-26 09:46:48 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-27 13:12:26 +0200
commit1cd7c06213eaeb6c045983ebed8be866938c42b5 (patch)
tree101da4270ee0006e499382e211d5a578cc49aa5d /drivers/staging/dgnc/dgnc_driver.h
parent33ccb442aa6b133c7c32aec02b633b11878e04e9 (diff)
downloadop-kernel-dev-1cd7c06213eaeb6c045983ebed8be866938c42b5.zip
op-kernel-dev-1cd7c06213eaeb6c045983ebed8be866938c42b5.tar.gz
staging: dgnc: remove useless variables
The dgnc_major_serial_registered and dgnc_major_serial_registered do not need to use to check whether the tty driver is registered or not. These variables are used only in dgnc_cleanup_tty() function, This function will be called normally with initialized board structure. It means the dgnc_cleanup_tty() cannot be called with unregistered tty. Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc/dgnc_driver.h')
-rw-r--r--drivers/staging/dgnc/dgnc_driver.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h
index 747a100..8792026 100644
--- a/drivers/staging/dgnc/dgnc_driver.h
+++ b/drivers/staging/dgnc/dgnc_driver.h
@@ -203,9 +203,6 @@ struct dgnc_board {
struct tty_driver *print_driver;
char print_name[200];
- bool dgnc_major_serial_registered;
- bool dgnc_major_transparent_print_registered;
-
u16 dpatype; /* The board "type",
* as defined by DPA
*/
OpenPOWER on IntegriCloud