diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-09-17 20:33:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-18 16:07:24 +0200 |
commit | 20464f3a9b46ef882b9fdf140dcc7ff6a6db8d4c (patch) | |
tree | b281766a4a04a785aac859c267d85c367445b4f9 /drivers/tty | |
parent | serial: 8250_omap: Make 8250_omap driver driver depend on ARCH_K3 (diff) | |
download | linux-20464f3a9b46ef882b9fdf140dcc7ff6a6db8d4c.tar.xz linux-20464f3a9b46ef882b9fdf140dcc7ff6a6db8d4c.zip |
serial: sprd: Remove unused structure
Remove the unused reg_backup structure.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Acked-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/sprd_serial.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/tty/serial/sprd_serial.c b/drivers/tty/serial/sprd_serial.c index 828f1143859c..1b0e3fbe546a 100644 --- a/drivers/tty/serial/sprd_serial.c +++ b/drivers/tty/serial/sprd_serial.c @@ -95,19 +95,8 @@ #define SPRD_IMSR_BREAK_DETECT BIT(7) #define SPRD_IMSR_TIMEOUT BIT(13) -struct reg_backup { - u32 ien; - u32 ctrl0; - u32 ctrl1; - u32 ctrl2; - u32 clkd0; - u32 clkd1; - u32 dspwait; -}; - struct sprd_uart_port { struct uart_port port; - struct reg_backup reg_bak; char name[16]; }; |