Skip to contentSkip to conversation

serial: sb1250-duart: clean up after SIBYTE_BCM1x55 removal

PATCH New Lukas Bulwahn 1 participant 1 message Mar 23, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial: sb1250-duart: clean up after SIBYTE_BCM1x55 removal

With commit b984d7b56dfc ("MIPS: sibyte: Remove unused config option SIBYTE_BCM1x55"), an #if in the Broadcom SiByte DUART driver can be simplified.

Simplify the prepreprocessor condition after config SIBYTE_BCM1x55 removal.

---
I looked around on lore.kernel.org and could not find a pending patch from Thomas Bogendoerfer related to cleaning up this serial driver after he removed the config. So, to be on the safe side, I just sent this quick clean-up patch.

 drivers/tty/serial/sb1250-duart.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/sb1250-duart.c +1 -1
index de56f383964e..b6de0dc51f29 100644
@@ -41,7 +41,7 @@
 #include <asm/sibyte/swarm.h>
 
 
-#if defined(CONFIG_SIBYTE_BCM1x55) || defined(CONFIG_SIBYTE_BCM1x80)
+#if defined(CONFIG_SIBYTE_BCM1x80)
 #include <asm/sibyte/bcm1480_regs.h>
 #include <asm/sibyte/bcm1480_int.h>
 
Signature · 1 line
2.17.1