diff options
author | Jiri Slaby <jslaby@suse.cz> | 2016-05-09 10:11:58 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-25 18:56:30 +0300 |
commit | b0f8aed2cdabb01225b85087d7ea1a88bd22e079 (patch) | |
tree | ef9a425532cba49a0f8b0e7a1a50051747344a43 /drivers/tty/serial/8250/8250.h | |
parent | 6137b7a62978915d76db69e17e25e8e0b1057254 (diff) | |
download | linux-b0f8aed2cdabb01225b85087d7ea1a88bd22e079.tar.xz |
tty: 8250, drop unused members from struct old_serial_port
hub6 and irqflags from struct old_serial_port are nowhere set. Drop
them from the structure and replace the reads by zeros.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250.h')
-rw-r--r-- | drivers/tty/serial/8250/8250.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/8250/8250.h b/drivers/tty/serial/8250/8250.h index 215a99237e95..563ccbe3612b 100644 --- a/drivers/tty/serial/8250/8250.h +++ b/drivers/tty/serial/8250/8250.h @@ -53,11 +53,9 @@ struct old_serial_port { unsigned int port; unsigned int irq; upf_t flags; - unsigned char hub6; unsigned char io_type; unsigned char __iomem *iomem_base; unsigned short iomem_reg_shift; - unsigned long irqflags; }; struct serial8250_config { |