Commit 373aa75a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f5b612d6
...@@ -22,7 +22,6 @@ MODULE_SUPPORTED_DEVICE("dgnc"); ...@@ -22,7 +22,6 @@ MODULE_SUPPORTED_DEVICE("dgnc");
static unsigned int dgnc_num_boards; static unsigned int dgnc_num_boards;
struct dgnc_board *dgnc_board[MAXBOARDS]; struct dgnc_board *dgnc_board[MAXBOARDS];
DEFINE_SPINLOCK(dgnc_global_lock);
static DEFINE_SPINLOCK(dgnc_poll_lock); /* Poll scheduling lock */ static DEFINE_SPINLOCK(dgnc_poll_lock); /* Poll scheduling lock */
int dgnc_poll_tick = 20; /* Poll interval - 20 ms */ int dgnc_poll_tick = 20; /* Poll interval - 20 ms */
......
...@@ -372,9 +372,7 @@ struct channel_t { ...@@ -372,9 +372,7 @@ struct channel_t {
ulong ch_xoff_sends; ulong ch_xoff_sends;
}; };
extern uint dgnc_major; /* Our driver/mgmt major */
extern int dgnc_poll_tick; /* Poll interval - 20 ms */ 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 */ extern struct dgnc_board *dgnc_board[MAXBOARDS];/* Array of boards */
#endif /* _DGNC_DRIVER_H */ #endif /* _DGNC_DRIVER_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment