summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Villeneuve <hvilleneuve@dimonoff.com>2025-10-27 14:42:43 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-11-02 22:14:41 +0900
commit2f7592e0bdfc6912bc1db2b6b659e609beff1482 (patch)
treea6c366e7fbc4bdf4ba086d7b4468d9267bb795a9
parent39a7305e2abad025bacba9494533cc597fb49f4a (diff)
downloadlinux-2f7592e0bdfc6912bc1db2b6b659e609beff1482.tar.gz
linux-2f7592e0bdfc6912bc1db2b6b659e609beff1482.tar.bz2
linux-2f7592e0bdfc6912bc1db2b6b659e609beff1482.zip
serial: sc16is7xx: remove unused to_sc16is7xx_port macro
[ Upstream commit 22a048b0749346b6e3291892d06b95278d5ba84a ] This macro is not used anywhere. Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Link: https://lore.kernel.org/r/20230905181649.134720-1-hugo@hugovil.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 1c05bf6c0262 ("serial: sc16is7xx: remove useless enable of enhanced features") Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/sc16is7xx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c
index 66a88bba8f15..847ed5b155aa 100644
--- a/drivers/tty/serial/sc16is7xx.c
+++ b/drivers/tty/serial/sc16is7xx.c
@@ -358,7 +358,6 @@ static struct uart_driver sc16is7xx_uart = {
static void sc16is7xx_ier_set(struct uart_port *port, u8 bit);
static void sc16is7xx_stop_tx(struct uart_port *port);
-#define to_sc16is7xx_port(p,e) ((container_of((p), struct sc16is7xx_port, e)))
#define to_sc16is7xx_one(p,e) ((container_of((p), struct sc16is7xx_one, e)))
static u8 sc16is7xx_port_read(struct uart_port *port, u8 reg)