Skip to content

Commit

Permalink
drivers: uart_wch: Fix compiler warning
Browse files Browse the repository at this point in the history
This commit removes an unused variable.

Signed-off-by: Paul Wedeck <paulwedeck@gmail.com>
  • Loading branch information
paulwedeck committed Jan 21, 2025
1 parent 38131af commit f4ab432
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/serial/uart_wch_usart.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ static int usart_wch_irq_update(const struct device *dev)
static void usart_wch_irq_callback_set(const struct device *dev, uart_irq_callback_user_data_t cb,
void *user_data)
{
const struct usart_wch_config *config = dev->config;
struct usart_wch_data *data = dev->data;

data->cb = cb;
Expand Down

0 comments on commit f4ab432

Please sign in to comment.