Skip to contentSkip to conversation

Remove unused uart_cpm_port fields

PATCH New Baurzhan Ismagulov 1 participant 1 message Nov 11, 2010 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove unused uart_cpm_port fields

Hello,

AFAICT, these fields are not used anywhere.

---
 drivers/serial/cpm_uart/cpm_uart.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
drivers/serial/cpm_uart/cpm_uart.h +0 -6
index 7274b52..b754dcf 100644
@@ -76,18 +76,12 @@ struct uart_cpm_port {
 	unsigned char		*tx_buf;
 	unsigned char		*rx_buf;
 	u32			flags;
-	void			(*set_lineif)(struct uart_cpm_port *);
 	struct clk		*clk;
 	u8			brg;
 	uint			 dp_addr;
 	void			*mem_addr;
 	dma_addr_t		 dma_addr;
 	u32			mem_size;
-	/* helpers */
-	int			 baud;
-	int			 bits;
-	/* Keep track of 'odd' SMC2 wirings */
-	int			is_portb;
 	/* wait on close if needed */
 	int			wait_closing;
 	/* value to combine with opcode to form cpm command */
Signature · 1 line
1.7.1