Thread (67 messages) 67 messages, 8 authors, 2021-09-21

[PATCH v2 06/11] serial: mvebu-uart: remove unused member nb from struct mvebu_uart

From: Pali Rohár <pali@kernel.org>
Date: 2021-06-25 14:37:15
Also in: linux-arm-kernel, linux-clk, lkml
Subsystem: marvell armada 3700 serial driver, the rest, tty layer and serial drivers · Maintainers: Pali Rohár, Linus Torvalds, Greg Kroah-Hartman, Jiri Slaby

Member nb in struct mvebu_uart is not set nor read. So remove it completely.

Signed-off-by: Pali Rohár <pali@kernel.org>
---
 drivers/tty/serial/mvebu-uart.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c
index f8b0016db847..414e92064ac6 100644
--- a/drivers/tty/serial/mvebu-uart.c
+++ b/drivers/tty/serial/mvebu-uart.c
@@ -128,7 +128,6 @@ struct mvebu_uart {
 	struct uart_port *port;
 	struct clk *clk;
 	int irq[UART_IRQ_COUNT];
-	unsigned char __iomem *nb;
 	struct mvebu_uart_driver_data *data;
 #if defined(CONFIG_PM)
 	struct mvebu_uart_pm_regs pm_regs;
-- 
2.20.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help