Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 40ffac9a authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

staging: dgnc: delete dpatype board type variable.



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

Cc: Lidza Louina <lidza.louina@gmail.com>
Cc: Mark Hounschell <markh@compro.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a6a47b1
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -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_8_DID:
	case PCI_DEVICE_CLASSIC_4_422_DID:
	case PCI_DEVICE_CLASSIC_4_422_DID:
	case PCI_DEVICE_CLASSIC_8_422_DID:
	case PCI_DEVICE_CLASSIC_8_422_DID:

		brd->dpatype = T_CLASSIC | T_PCIBUS;

		/*
		/*
		 * For PCI ClassicBoards
		 * For PCI ClassicBoards
		 * PCI Local Address (i.e. "resource" number) space
		 * PCI Local Address (i.e. "resource" number) space
+0 −2
Original line number Original line Diff line number Diff line
@@ -126,7 +126,6 @@ struct board_ops {
 * @serial_name: Serial driver name.
 * @serial_name: Serial driver name.
 * @print_dirver: Pointer to the print driver.
 * @print_dirver: Pointer to the print driver.
 * @print_name: Print driver name.
 * @print_name: Print driver name.
 * @dpatype: Board type as defined by DPA.
 * @dpastatus: Board status as defined by DPA.
 * @dpastatus: Board status as defined by DPA.
 * @bd_dividend: Board/UART's specific dividend.
 * @bd_dividend: Board/UART's specific dividend.
 * @bd_ops: Pointer to board operations structure.
 * @bd_ops: Pointer to board operations structure.
@@ -180,7 +179,6 @@ struct dgnc_board {
	struct tty_driver *print_driver;
	struct tty_driver *print_driver;
	char		print_name[200];
	char		print_name[200];


	u16		dpatype;
	u16		dpastatus;
	u16		dpastatus;


	uint		bd_dividend;
	uint		bd_dividend;
+0 −5
Original line number Original line Diff line number Diff line
@@ -127,11 +127,6 @@ struct ni_info {
	unsigned int baud;
	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
#define TTY_FLIPBUF_SIZE 512


#endif	/* _DIGI_H */
#endif	/* _DIGI_H */