sandbox: Improve dummy local_irq_save implementation
authorTom Rini <trini@konsulko.com>
Tue, 12 Aug 2025 17:59:07 +0000 (11:59 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 19 Aug 2025 17:25:28 +0000 (11:25 -0600)
commit58998fed9e63e8310a96229565d2996ad29d191e
treef463c8b0746b2a5931b5780438895c07f9ac33b9
parentda938a4254b4cf9d4e7b894a0a30536b0d9266c5
sandbox: Improve dummy local_irq_save implementation

Normally, local_save_flags is used as part of the local_irq_* macros, so
remove that as it's unused. Make local_irq_save do something to the
passed variable so that it won't trigger unused variable warnings later.

Signed-off-by: Tom Rini <trini@konsulko.com>
arch/sandbox/include/asm/system.h