From 14dda3af0845ab5a9ea587e46d31a80d9af897dc Mon Sep 17 00:00:00 2001 From: Gerard Marull-Paretas Date: Tue, 25 Jan 2022 19:35:04 +0100 Subject: [PATCH] drivers: serial: msp432p4xx: remove unused sys_clk_freq The variable is not used by the driver, so there is no need to initialize it. Signed-off-by: Gerard Marull-Paretas --- drivers/serial/uart_msp432p4xx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/serial/uart_msp432p4xx.c b/drivers/serial/uart_msp432p4xx.c index 83ba91027d6..b25630982e7 100644 --- a/drivers/serial/uart_msp432p4xx.c +++ b/drivers/serial/uart_msp432p4xx.c @@ -34,7 +34,6 @@ static void uart_msp432p4xx_isr(const struct device *dev); static const struct uart_device_config uart_msp432p4xx_dev_cfg_0 = { .base = (void *)DT_INST_REG_ADDR(0), - .sys_clk_freq = DT_INST_PROP_BY_PHANDLE(0, clocks, clock_frequency), }; static struct uart_msp432p4xx_dev_data_t uart_msp432p4xx_dev_data_0 = {