Commit d7f355d7 authored by Giedrius Statkevičius's avatar Giedrius Statkevičius Committed by Greg Kroah-Hartman

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: default avatarGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2e363be0
......@@ -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
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