Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

serial: sc16is7xx: remove unused to_sc16is7xx_port macro

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>

authored by

Hugo Villeneuve and committed by
Greg Kroah-Hartman
22a048b0 4556c36f

-1
-1
drivers/tty/serial/sc16is7xx.c
··· 358 358 static void sc16is7xx_ier_set(struct uart_port *port, u8 bit); 359 359 static void sc16is7xx_stop_tx(struct uart_port *port); 360 360 361 - #define to_sc16is7xx_port(p,e) ((container_of((p), struct sc16is7xx_port, e))) 362 361 #define to_sc16is7xx_one(p,e) ((container_of((p), struct sc16is7xx_one, e))) 363 362 364 363 static int sc16is7xx_line(struct uart_port *port)