]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dgnc: Remove unneeded dgnc_state array of strings
authorGiedrius Statkevičius <giedrius.statkevicius@gmail.com>
Tue, 10 Mar 2015 19:29:18 +0000 (21:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2015 10:10:18 +0000 (11:10 +0100)
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>
drivers/staging/dgnc/dgnc_driver.c
drivers/staging/dgnc/dgnc_driver.h

index b322985f7b6ce42537040922670cfa1b307399bb..c3fe00d961d6ae2691a886af1fd1b630fdb14036 100644 (file)
@@ -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
index a860705dd01b85163964f343af5f5382a28eab25..d647da15dcde9f0d099187ea84d890d1238e896a 100644 (file)
@@ -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