diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-11 17:50:20 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-15 16:07:08 +0100 |
commit | 373aa75a93c198ea58a2ee9cb4554089e61a36b5 (patch) | |
tree | 9bf6668a3f51f02761a1e14298f6adbac0849d71 /drivers/staging/dgnc | |
parent | f5b612d6e300b2073c70a277b7c2c394f7f2ee11 (diff) | |
download | linux-373aa75a93c198ea58a2ee9cb4554089e61a36b5.tar.bz2 |
staging: dgnc: remove some global variables
There were some global variables not being used at all, so just delete
them.
Cc: Lidza Louina <lidza.louina@gmail.com>
Cc: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r-- | drivers/staging/dgnc/dgnc_driver.c | 1 | ||||
-rw-r--r-- | drivers/staging/dgnc/dgnc_driver.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c index ae3767315ef5..3f2815c16ea7 100644 --- a/drivers/staging/dgnc/dgnc_driver.c +++ b/drivers/staging/dgnc/dgnc_driver.c @@ -22,7 +22,6 @@ MODULE_SUPPORTED_DEVICE("dgnc"); static unsigned int dgnc_num_boards; struct dgnc_board *dgnc_board[MAXBOARDS]; -DEFINE_SPINLOCK(dgnc_global_lock); static DEFINE_SPINLOCK(dgnc_poll_lock); /* Poll scheduling lock */ int dgnc_poll_tick = 20; /* Poll interval - 20 ms */ diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h index ebd46895f5a9..a6bfe15bd499 100644 --- a/drivers/staging/dgnc/dgnc_driver.h +++ b/drivers/staging/dgnc/dgnc_driver.h @@ -372,9 +372,7 @@ struct channel_t { ulong ch_xoff_sends; }; -extern uint dgnc_major; /* Our driver/mgmt major */ extern int dgnc_poll_tick; /* Poll interval - 20 ms */ -extern spinlock_t dgnc_global_lock; /* Driver global spinlock */ extern struct dgnc_board *dgnc_board[MAXBOARDS];/* Array of boards */ #endif /* _DGNC_DRIVER_H */ |