diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-04-24 16:00:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-18 16:19:16 +0200 |
commit | 70b2fe355a4cac3488a208ff13defefef45d6f77 (patch) | |
tree | 42c46ada02878733f245dec7cffd7cc8cd82aa96 | |
parent | 84b40e3b57eef1417479c00490dd4c9f6e5ffdbc (diff) | |
download | blackbird-op-linux-70b2fe355a4cac3488a208ff13defefef45d6f77.tar.gz blackbird-op-linux-70b2fe355a4cac3488a208ff13defefef45d6f77.zip |
serial: 8250_exar: Remove duplicate assignment
UPF_EXAR_EFR is set globally for each port enumerated by the driver.
Thus, no need to repeat this in individual ->setup() hook.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/tty/serial/8250/8250_exar.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c index 1270ff163f63..2a8f00d96e6b 100644 --- a/drivers/tty/serial/8250/8250_exar.c +++ b/drivers/tty/serial/8250/8250_exar.c @@ -109,7 +109,6 @@ pci_fastcom335_setup(struct exar8250 *priv, struct pci_dev *pcidev, u8 __iomem *p; int err; - port->port.flags |= UPF_EXAR_EFR; port->port.uartclk = baud * 16; err = default_setup(priv, pcidev, idx, offset, port); |