dgnc: Remove unneeded dgnc_state array of strings
Dgnc_state array of strings is never used anywhere and it seems pretty useless anyway since the board state enum names speak for themselves. Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2e363be0aa
commit
d7f355d7b0
2 changed files with 0 additions and 9 deletions
|
@ -140,14 +140,6 @@ static struct pci_driver dgnc_driver = {
|
|||
.id_table = dgnc_pci_tbl,
|
||||
};
|
||||
|
||||
|
||||
char *dgnc_state_text[] = {
|
||||
"Board Failed",
|
||||
"Board Found",
|
||||
"Board READY",
|
||||
};
|
||||
|
||||
|
||||
/************************************************************************
|
||||
*
|
||||
* Driver load/unload functions
|
||||
|
|
|
@ -404,6 +404,5 @@ extern int dgnc_poll_tick; /* Poll interval - 20 ms */
|
|||
extern spinlock_t dgnc_global_lock; /* Driver global spinlock */
|
||||
extern uint dgnc_NumBoards; /* Total number of boards */
|
||||
extern struct dgnc_board *dgnc_Board[MAXBOARDS]; /* Array of board structs */
|
||||
extern char *dgnc_state_text[]; /* Array of state text */
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue