[PATCH 25/32] serial: ns16550_pci: drop useless assignment
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Sep 5 02:55:50 PDT 2022
Code was imported from the kernel and the kernel had this fixed in the
meantime, so follow suit here.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
drivers/serial/serial_ns16550_pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/serial_ns16550_pci.c b/drivers/serial/serial_ns16550_pci.c
index fde8f718dd51..0d7b686fef0a 100644
--- a/drivers/serial/serial_ns16550_pci.c
+++ b/drivers/serial/serial_ns16550_pci.c
@@ -1203,7 +1203,7 @@ static int pci_quatech_init(struct pci_dev *dev)
outl(inl(base + 0x38) | 0x00002000, base + 0x38);
tmp = inl(base + 0x3c);
outl(tmp | 0x01000000, base + 0x3c);
- outl(tmp &= ~0x01000000, base + 0x3c);
+ outl(tmp & ~0x01000000, base + 0x3c);
}
}
return 0;
--
2.30.2
More information about the barebox
mailing list