arch/xtensa/src/esp32/esp32_intdecode.c: Don't clear A2, the mask

argument is passed in that register

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2020-10-05 10:02:31 +01:00 committed by Masayuki Ishikawa
parent 3eee887d87
commit 2e4ec442ad

View File

@ -60,7 +60,6 @@ static inline void xtensa_intclear(uint32_t mask)
{
__asm__ __volatile__
(
"movi a2, 0\n"
"wsr %0, INTCLEAR\n"
: "=r"(mask) : :
);