risc-v/esp32c3: Remove erroneous interrupt disable

Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei 2023-02-28 15:01:10 -03:00 committed by Petro Karashchenko
parent f47cb67da6
commit e4d219ca06

View File

@ -706,10 +706,6 @@ static int esp32c3_tim_setisr(struct esp32c3_tim_dev_s *dev,
if (priv->cpuint != -ENOMEM)
{
/* Disable cpu interrupt */
up_disable_irq(priv->cpuint);
/* Disable CPU Interrupt, free a previously allocated
* CPU Interrupt
*/