From: "Daniel W. S. Almeida" <dwlsalmeida@xxxxxxxxx> Fix the following warnings: warning: Excess function parameter 'dev' description in 'uart_get_rs485_mode' warning: Excess function parameter 'rs485conf' description in 'uart_get_rs485_mode' Signed-off-by: Daniel W. S. Almeida <dwlsalmeida@xxxxxxxxx> --- drivers/tty/serial/serial_core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 57840cf903881..97df0c0e30e9b 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -3289,8 +3289,6 @@ EXPORT_SYMBOL(uart_remove_one_port); /** * uart_get_rs485_mode() - retrieve rs485 properties for given uart - * @dev: uart device - * @rs485conf: output parameter * * This function implements the device tree binding described in * Documentation/devicetree/bindings/serial/rs485.txt. -- 2.27.0