It was only set, and never looked at, so drop the thing as no one cares
about it.

Cc: Lidza Louina <lidza.lou...@gmail.com>
Cc: Mark Hounschell <ma...@compro.net>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 drivers/staging/dgnc/dgnc_driver.c | 3 ---
 drivers/staging/dgnc/dgnc_driver.h | 2 --
 drivers/staging/dgnc/digi.h        | 5 -----
 3 files changed, 10 deletions(-)

diff --git a/drivers/staging/dgnc/dgnc_driver.c 
b/drivers/staging/dgnc/dgnc_driver.c
index 1174aeb209a9..172f4fe67489 100644
--- a/drivers/staging/dgnc/dgnc_driver.c
+++ b/drivers/staging/dgnc/dgnc_driver.c
@@ -115,9 +115,6 @@ static struct dgnc_board *dgnc_found_board(struct pci_dev 
*pdev, int id)
        case PCI_DEVICE_CLASSIC_8_DID:
        case PCI_DEVICE_CLASSIC_4_422_DID:
        case PCI_DEVICE_CLASSIC_8_422_DID:
-
-               brd->dpatype = T_CLASSIC | T_PCIBUS;
-
                /*
                 * For PCI ClassicBoards
                 * PCI Local Address (i.e. "resource" number) space
diff --git a/drivers/staging/dgnc/dgnc_driver.h 
b/drivers/staging/dgnc/dgnc_driver.h
index b71e6d1d4ec4..6c6d7c5df5e1 100644
--- a/drivers/staging/dgnc/dgnc_driver.h
+++ b/drivers/staging/dgnc/dgnc_driver.h
@@ -126,7 +126,6 @@ struct board_ops {
  * @serial_name: Serial driver name.
  * @print_dirver: Pointer to the print driver.
  * @print_name: Print driver name.
- * @dpatype: Board type as defined by DPA.
  * @dpastatus: Board status as defined by DPA.
  * @bd_dividend: Board/UART's specific dividend.
  * @bd_ops: Pointer to board operations structure.
@@ -180,7 +179,6 @@ struct dgnc_board {
        struct tty_driver *print_driver;
        char            print_name[200];
 
-       u16             dpatype;
        u16             dpastatus;
 
        uint            bd_dividend;
diff --git a/drivers/staging/dgnc/digi.h b/drivers/staging/dgnc/digi.h
index 6a09bd32e349..80b0339f33d7 100644
--- a/drivers/staging/dgnc/digi.h
+++ b/drivers/staging/dgnc/digi.h
@@ -127,11 +127,6 @@ struct ni_info {
        unsigned int baud;
 };
 
-#define T_CLASSIC 0002
-#define T_PCIBUS 0400
-#define T_NEO_EXPRESS 0001
-#define T_NEO 0000
-
 #define TTY_FLIPBUF_SIZE 512
 
 #endif /* _DIGI_H */
-- 
2.15.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to