This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit b7cbe16fedd73dd0493c4a1be22b31e28774e122
Author: Petro Karashchenko <[email protected]>
AuthorDate: Sat Aug 24 13:22:26 2024 -0400

    arch/x86_64: remove redundant init
    
    Signed-off-by: Petro Karashchenko <[email protected]>
---
 arch/x86_64/src/intel64/intel64_irq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86_64/src/intel64/intel64_irq.c 
b/arch/x86_64/src/intel64/intel64_irq.c
index 46d61488b3..908d09bac9 100644
--- a/arch/x86_64/src/intel64/intel64_irq.c
+++ b/arch/x86_64/src/intel64/intel64_irq.c
@@ -586,7 +586,7 @@ int up_prioritize_irq(int irq, int priority)
 
 void up_trigger_irq(int irq, cpu_set_t cpuset)
 {
-  uint32_t cpu = 0;
+  uint32_t cpu;
 
   for (cpu = 0; cpu < CONFIG_SMP_NCPUS; cpu++)
     {

Reply via email to