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:
Giedrius Statkevičius 2015-03-10 21:29:18 +02:00 committed by Greg Kroah-Hartman
parent 2e363be0aa
commit d7f355d7b0
2 changed files with 0 additions and 9 deletions

View file

@ -140,14 +140,6 @@ static struct pci_driver dgnc_driver = {
.id_table = dgnc_pci_tbl, .id_table = dgnc_pci_tbl,
}; };
char *dgnc_state_text[] = {
"Board Failed",
"Board Found",
"Board READY",
};
/************************************************************************ /************************************************************************
* *
* Driver load/unload functions * Driver load/unload functions

View file

@ -404,6 +404,5 @@ extern int dgnc_poll_tick; /* Poll interval - 20 ms */
extern spinlock_t dgnc_global_lock; /* Driver global spinlock */ extern spinlock_t dgnc_global_lock; /* Driver global spinlock */
extern uint dgnc_NumBoards; /* Total number of boards */ extern uint dgnc_NumBoards; /* Total number of boards */
extern struct dgnc_board *dgnc_Board[MAXBOARDS]; /* Array of board structs */ extern struct dgnc_board *dgnc_Board[MAXBOARDS]; /* Array of board structs */
extern char *dgnc_state_text[]; /* Array of state text */
#endif #endif