summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-05-07 13:04:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-10 20:10:08 +0300
commit1ed7b84b28c1a808d70e0b189febca5bc7e58fd7 (patch)
tree78fdb917fb193f002b48b955d9ed0153704ba910 /drivers
parent54585ba0362a121f4e3b2fcddf62f28dbd1cf1f5 (diff)
downloadlinux-1ed7b84b28c1a808d70e0b189febca5bc7e58fd7.tar.xz
serial: 8250: do not copy port.fifosize member twice
The port.fifosize member has already been copied at 8 lines above. Maybe the compiler optimization can clean it away, but just in case. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tty/serial/8250/8250_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c
index 5521ff83303f..242e796480de 100644
--- a/drivers/tty/serial/8250/8250_core.c
+++ b/drivers/tty/serial/8250/8250_core.c
@@ -3840,7 +3840,6 @@ int serial8250_register_8250_port(struct uart_8250_port *up)
uart->port.mapbase = up->port.mapbase;
uart->port.mapsize = up->port.mapsize;
uart->port.private_data = up->port.private_data;
- uart->port.fifosize = up->port.fifosize;
uart->tx_loadsz = up->tx_loadsz;
uart->capabilities = up->capabilities;
uart->port.throttle = up->port.throttle;