diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-05-03 09:31:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-05 23:39:16 +0300 |
commit | 5c83ffd90bc078d6f585190dc9740584bfcad1e7 (patch) | |
tree | 42e6a9366b89766449e4a6a39c473df2dd580914 /drivers | |
parent | d7c76716169ddc37cf6316ff381d34ea807fbfd7 (diff) | |
download | linux-5c83ffd90bc078d6f585190dc9740584bfcad1e7.tar.xz |
serial: pic32: remove unused items from the header
struct pic32_console_opt and its support are unused in pic32. So remove
all that.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220503063122.20957-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/tty/serial/pic32_uart.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/tty/serial/pic32_uart.h b/drivers/tty/serial/pic32_uart.h index b15639cc336b..a7dba1d57236 100644 --- a/drivers/tty/serial/pic32_uart.h +++ b/drivers/tty/serial/pic32_uart.h @@ -20,13 +20,6 @@ #define PIC32_UART_RX 0x30 #define PIC32_UART_BRG 0x40 -struct pic32_console_opt { - int baud; - int parity; - int bits; - int flow; -}; - /* struct pic32_sport - pic32 serial port descriptor * @port: uart port descriptor * @idx: port index @@ -44,7 +37,6 @@ struct pic32_console_opt { **/ struct pic32_sport { struct uart_port port; - struct pic32_console_opt opt; int idx; int irq_fault; @@ -68,7 +60,6 @@ struct pic32_sport { }; #define to_pic32_sport(c) container_of(c, struct pic32_sport, port) #define pic32_get_port(sport) (&sport->port) -#define pic32_get_opt(sport) (&sport->opt) #define tx_irq_enabled(sport) (sport->enable_tx_irq) static inline void pic32_uart_writel(struct pic32_sport *sport, |