arch/arc, usb, ztest: Add the ARG_UNUSED macro
Add the ARG_UNUSED macro to avoid compiler warnings. Change-Id: Ie07f52e742bdb93fb35301bd50cce3865f229623 Signed-off-by: Flavio Santes <flavio.santes@intel.com>
This commit is contained in:
parent
358056692f
commit
d8083e92ab
4 changed files with 25 additions and 1 deletions
|
@ -57,6 +57,8 @@
|
|||
void _FaultDump(const NANO_ESF *esf, int fault)
|
||||
{
|
||||
ARG_UNUSED(esf);
|
||||
ARG_UNUSED(fault);
|
||||
|
||||
#ifdef CONFIG_PRINTK
|
||||
uint32_t exc_addr = _arc_v2_aux_reg_read(_ARC_V2_EFA);
|
||||
uint32_t ecr = _arc_v2_aux_reg_read(_ARC_V2_ECR);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue