projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cbfded
)
serial: mvebu-uart: remove unused member nb from struct mvebu_uart
author
Pali Rohár
<pali@kernel.org>
Thu, 24 Jun 2021 22:49:05 +0000
(
00:49
+0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 25 Jun 2021 11:53:51 +0000
(13:53 +0200)
Member nb in struct mvebu_uart is not set nor read. So remove it completely.
Signed-off-by: Pali Rohár <pali@kernel.org>
Link:
https://lore.kernel.org/r/20210624224909.6350-7-pali@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mvebu-uart.c
patch
|
blob
|
history
diff --git
a/drivers/tty/serial/mvebu-uart.c
b/drivers/tty/serial/mvebu-uart.c
index
0e169ad
..
231de29
100644
(file)
--- 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;