[PATCH v1 2/2] serial: sc16is7xx: Drop unneeded __maybe_unused

From: Uwe Kleine-König

Date: Wed Nov 25 2026 - 05:09:08 EST


With `MODULE_DEVICE_TABLE(of, sc16is7xx_dt_ids);` the array is used
unconditionally since commit commit 5ab23c7923a1 ("modpost: Create
modalias for builtin modules"). So the __maybe_unused marker has no
relevant effect here and can be dropped.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxx>
---
drivers/tty/serial/sc16is7xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c
index dbf38825a78c..afedb89018af 100644
--- a/drivers/tty/serial/sc16is7xx.c
+++ b/drivers/tty/serial/sc16is7xx.c
@@ -1745,7 +1745,7 @@ void sc16is7xx_remove(struct device *dev)
}
EXPORT_SYMBOL_GPL(sc16is7xx_remove);

-const struct of_device_id __maybe_unused sc16is7xx_dt_ids[] = {
+const struct of_device_id sc16is7xx_dt_ids[] = {
{ .compatible = "nxp,sc16is740", .data = &sc16is74x_devtype, },
{ .compatible = "nxp,sc16is741", .data = &sc16is74x_devtype, },
{ .compatible = "nxp,sc16is750", .data = &sc16is750_devtype, },
--
2.47.3