Tegra: fiq_glue: fix MISRA defects for Rule 2.7
authorAnthony Zhou <anzhou@nvidia.com>
Mon, 8 May 2017 12:29:33 +0000 (20:29 +0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 16 Jan 2019 18:11:31 +0000 (10:11 -0800)
This patch adds (void) for unused function parameters to
fix Rule 2.7 of the MISRA standard.

Change-Id: Ibc3f10b3bfe73363383b4c28413ab8d99fbc8c89
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/tegra_fiq_glue.c

index 0b663cef429fd67e5abb0eba73bcad5f061d7fa4..9a43f76956b99962d048c271940456054cf27479 100644 (file)
@@ -41,6 +41,11 @@ static uint64_t tegra_fiq_interrupt_handler(uint32_t id,
        uint32_t cpu = plat_my_core_pos();
        uint32_t irq;
 
+       (void)id;
+       (void)flags;
+       (void)handle;
+       (void)cookie;
+
        bakery_lock_get(&tegra_fiq_lock);
 
        /*