diff options
author | Konrad Zapalowicz <bergo.torino@gmail.com> | 2014-08-16 16:58:05 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-08-17 09:52:24 -0700 |
commit | 1d8c5aa329e7a7a17d9c99122d89d76663195ddb (patch) | |
tree | 120614e0d4ef0ba882aaddc653b2444bfa75dd2e /drivers/staging/dgnc/dgnc_driver.h | |
parent | 2fd2914a2e456048e2a176185cb8e7576def452c (diff) | |
download | linux-1d8c5aa329e7a7a17d9c99122d89d76663195ddb.tar.bz2 |
staging: dgnc: Remove driver-wide state variable
This commit removes the driver's global state variable. This is ok
because the state was changed only once at the end of init phase thus
the future usage of this variable is pointless.
Signed-off-by: Konrad Zapalowicz <bergo.torino@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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index eae04940062c..ac0fe3640060 100644 --- a/drivers/staging/dgnc/dgnc_driver.h +++ b/drivers/staging/dgnc/dgnc_driver.h @@ -484,7 +484,6 @@ struct channel_t { /* * Our Global Variables. */ -extern int dgnc_driver_state; /* The state of the driver */ extern uint dgnc_Major; /* Our driver/mgmt major */ extern int dgnc_debug; /* Debug variable */ extern int dgnc_rawreadok; /* Set if user wants rawreads */ @@ -495,6 +494,5 @@ extern uint dgnc_NumBoards; /* Total number of boards */ extern struct dgnc_board *dgnc_Board[MAXBOARDS]; /* Array of board structs */ extern ulong dgnc_poll_counter; /* Times the poller has run */ extern char *dgnc_state_text[]; /* Array of state text */ -extern char *dgnc_driver_state_text[];/* Array of driver state text */ #endif |