aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgnc
diff options
context:
space:
mode:
authorSrishti Sharma <srishtishar@gmail.com>2017-09-16 22:08:54 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-18 11:45:25 +0200
commit1086f7c44f1a387aa612de4f33ba4c4941a93bc9 (patch)
tree6b2ef8a47d0fc65168383ab62eb11d940f115185 /drivers/staging/dgnc
parentstaging: dgnc: remove variable rc (diff)
downloadlinux-dev-1086f7c44f1a387aa612de4f33ba4c4941a93bc9.tar.xz
linux-dev-1086f7c44f1a387aa612de4f33ba4c4941a93bc9.zip
Staging: dgnc: Remove unused fields in struct dgnc_board
Remove unused fields and comments associated with them in the structure definition. Signed-off-by: Srishti Sharma <srishtishar@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgnc')
-rw-r--r--drivers/staging/dgnc/dgnc_driver.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h
index d69d9c007ed1..c13177b27467 100644
--- a/drivers/staging/dgnc/dgnc_driver.h
+++ b/drivers/staging/dgnc/dgnc_driver.h
@@ -104,7 +104,6 @@ struct board_ops {
* struct dgnc_board - Per board information.
* @boardnum: Board number (0 - 32).
*
- * @type: Type of board.
* @name: Product name.
* @pdev: Pointer to the pci_dev structure.
* @bd_flags: Board flags.
@@ -140,13 +139,9 @@ struct board_ops {
* @dpastatus: Board status as defined by DPA.
* @bd_dividend: Board/UART's specific dividend.
* @bd_ops: Pointer to board operations structure.
- * @proc_entry_pointer: Proc/<board> entry
- * @dgnc_board_table: Proc/<board> entry
*/
struct dgnc_board {
int boardnum;
-
- int type;
char *name;
struct pci_dev *pdev;
unsigned long bd_flags;
@@ -200,10 +195,6 @@ struct dgnc_board {
uint bd_dividend;
struct board_ops *bd_ops;
-
- struct proc_dir_entry *proc_entry_pointer;
- struct dgnc_proc_entry *dgnc_board_table;
-
};
/* Unit flag definitions for un_flags. */