arm/gd32f4: Remove extra lock from gd32f4xx_serial

An extra `lock` appears in gd32f4xx_serial due to 2 conflicting PRs:
- https://github.com/apache/nuttx/pull/7011
- https://github.com/apache/nuttx/pull/15352

This PR removes the extra `lock` in gd32f4xx_serial.
This commit is contained in:
Lup Yuen Lee 2024-12-30 13:36:42 +08:00 committed by Xiang Xiao
parent 9b9869158a
commit ce920f9e93

View file

@ -171,7 +171,6 @@ struct up_dev_s
uint32_t ie; /* USART enabled interrupts */
uint16_t sr; /* Save USART status */
spinlock_t lock; /* Spinlock */
/* TX DMA state */