mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 01:54:22 +00:00
fix(versal2): declare unused parameters as void
This corrects the MISRA violation C2012-2.7: There should be no unused parameters in functions. Declared unused function parameters as void. Change-Id: Iee222595962273913a570786ff1df5dc3ad328df Signed-off-by: Maheedhar Bollapalli <MaheedharSai.Bollapalli@amd.com>
This commit is contained in:
parent
06f63f4b56
commit
851df3c891
1 changed files with 5 additions and 0 deletions
|
@ -74,6 +74,10 @@ static inline void bl31_set_default_config(void)
|
|||
void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
||||
u_register_t arg2, u_register_t arg3)
|
||||
{
|
||||
(void)arg0;
|
||||
(void)arg1;
|
||||
(void)arg2;
|
||||
(void)arg3;
|
||||
uint32_t uart_clock;
|
||||
int32_t rc;
|
||||
|
||||
|
@ -206,6 +210,7 @@ int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler)
|
|||
static uint64_t rdo_el3_interrupt_handler(uint32_t id, uint32_t flags,
|
||||
void *handle, void *cookie)
|
||||
{
|
||||
(void)id;
|
||||
uint32_t intr_id;
|
||||
uint32_t i;
|
||||
interrupt_type_handler_t handler = NULL;
|
||||
|
|
Loading…
Add table
Reference in a new issue