Skip to content

Commit

Permalink
serial: sprd: Remove unused structure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Baolin Wang authored and Greg Kroah-Hartman committed Sep 18, 2018
1 parent c886751 commit 20464f3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions drivers/tty/serial/sprd_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
};

Expand Down

0 comments on commit 20464f3

Please sign in to comment.