Fix error: arch/sim/src/sim/posix/sim_alsa.c:290:18: error: 'flags' undeclared

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-09-11 16:56:42 +08:00 committed by archer
parent 4fef475825
commit d4fd9f53cd
1 changed files with 0 additions and 2 deletions

View File

@ -286,8 +286,6 @@ static int sim_audio_open(struct sim_audio_s *priv)
return 0;
fail:
snd_pcm_close(pcm);
up_irq_restore(flags);
host_uninterruptible(snd_pcm_close, pcm);
return ret;
}