Skip to content

Commit

Permalink
drivers: serial: removes unused TIMEOUT constant
Browse files Browse the repository at this point in the history
The TIMEOUT constant is unused since
da210ba,
so removed it.

Signed-off-by: Jonathan Hahn <[email protected]>
  • Loading branch information
helo9 authored and carlescufi committed Jun 6, 2022
1 parent 7ffc95c commit a34c7d6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/serial/uart_stm32.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ uint32_t lpuartdiv_calc(const uint64_t clock_rate, const uint32_t baud_rate)
#endif /* USART_PRESC_PRESCALER */
#endif /* HAS_LPUART_1 */

#define TIMEOUT 1000

#ifdef CONFIG_PM
static void uart_stm32_pm_policy_state_lock_get(const struct device *dev)
{
Expand Down

0 comments on commit a34c7d6

Please sign in to comment.