aboutsummaryrefslogtreecommitdiff
path: root/src/ethosu_device.c
diff options
context:
space:
mode:
authorBhavik Patel <bhavik.patel@arm.com>2020-05-12 10:09:41 +0200
committerBhavik Patel <bhavik.patel@arm.com>2020-05-12 10:09:41 +0200
commitbcb5aaa99756f1b5c1295b079ebdd60996bc75a5 (patch)
tree7f0acb7e35fd44b28a165408774543951c78656b /src/ethosu_device.c
parent25d78c0062908e91b4d0ae241600f4a077a19400 (diff)
downloadethos-u-core-driver-bcb5aaa99756f1b5c1295b079ebdd60996bc75a5.tar.gz
Remove a unused parameter warning
Change-Id: If2b542a83ee7f81f64cb5580faee3cae59c94e29
Diffstat (limited to 'src/ethosu_device.c')
-rw-r--r--src/ethosu_device.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ethosu_device.c b/src/ethosu_device.c
index 2534bf6..935ec9e 100644
--- a/src/ethosu_device.c
+++ b/src/ethosu_device.c
@@ -403,6 +403,7 @@ enum ethosu_error_codes ethosu_clear_irq_history_mask(uint16_t irq_history_clear
#if !defined(ARM_NPU_STUB)
write_reg(NPU_REG_CMD, (uint32_t)irq_history_clear_mask << 16);
#else
+ UNUSED(irq_history_clear_mask);
#endif
return ETHOSU_SUCCESS;
}