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/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 0f2b774  arch/risc-v: Remove unused and undefined file section "Public 
Variables"
0f2b774 is described below

commit 0f2b774dec289f07bd0d29ce8078a08b745c49c3
Author: Abdelatif Guettouche <abdelatif.guettou...@espressif.com>
AuthorDate: Wed Jan 27 22:58:20 2021 +0100

    arch/risc-v: Remove unused and undefined file section "Public Variables"
    
    Signed-off-by: Abdelatif Guettouche <abdelatif.guettou...@espressif.com>
---
 arch/risc-v/include/arch.h                | 4 ----
 arch/risc-v/include/csr.h                 | 4 ----
 arch/risc-v/include/gap8/chip.h           | 4 ----
 arch/risc-v/include/nr5m100/chip.h        | 4 ----
 arch/risc-v/include/nr5m100/nr5m1xx_irq.h | 4 ----
 arch/risc-v/include/rv32im/arch.h         | 4 ----
 arch/risc-v/include/rv32im/irq.h          | 4 ----
 arch/risc-v/include/rv64gc/arch.h         | 4 ----
 arch/risc-v/include/rv64gc/irq.h          | 4 ----
 arch/risc-v/src/common/riscv_internal.h   | 4 ----
 10 files changed, 40 deletions(-)

diff --git a/arch/risc-v/include/arch.h b/arch/risc-v/include/arch.h
index 555d5b9..03969c5 100644
--- a/arch/risc-v/include/arch.h
+++ b/arch/risc-v/include/arch.h
@@ -91,10 +91,6 @@ uint32_t up_gethartid(void);
  ****************************************************************************/
 
 /****************************************************************************
- * Public Variables
- ****************************************************************************/
-
-/****************************************************************************
  * Public Function Prototypes
  ****************************************************************************/
 
diff --git a/arch/risc-v/include/csr.h b/arch/risc-v/include/csr.h
index d4701ac..8b63f95 100644
--- a/arch/risc-v/include/csr.h
+++ b/arch/risc-v/include/csr.h
@@ -355,10 +355,6 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Public Variables
- ****************************************************************************/
-
-/****************************************************************************
  * Public Function Prototypes
  ****************************************************************************/
 
diff --git a/arch/risc-v/include/gap8/chip.h b/arch/risc-v/include/gap8/chip.h
index 65ed998..eff9f00 100644
--- a/arch/risc-v/include/gap8/chip.h
+++ b/arch/risc-v/include/gap8/chip.h
@@ -51,10 +51,6 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Public Variables
- ****************************************************************************/
-
-/****************************************************************************
  * Public Function Prototypes
  ****************************************************************************/
 
diff --git a/arch/risc-v/include/nr5m100/chip.h 
b/arch/risc-v/include/nr5m100/chip.h
index 43bde07..e6b8aa3 100644
--- a/arch/risc-v/include/nr5m100/chip.h
+++ b/arch/risc-v/include/nr5m100/chip.h
@@ -50,10 +50,6 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Public Variables
- ****************************************************************************/
-
-/****************************************************************************
  * Public Function Prototypes
  ****************************************************************************/
 
diff --git a/arch/risc-v/include/nr5m100/nr5m1xx_irq.h 
b/arch/risc-v/include/nr5m100/nr5m1xx_irq.h
index 3abd5a5..1ebc665 100644
--- a/arch/risc-v/include/nr5m100/nr5m1xx_irq.h
+++ b/arch/risc-v/include/nr5m100/nr5m1xx_irq.h
@@ -60,10 +60,6 @@
  ****************************************************************************/
 
 /****************************************************************************
- * Public Variables
- ****************************************************************************/
-
-/****************************************************************************
  * Public Function Prototypes
  ****************************************************************************/
 
diff --git a/arch/risc-v/include/rv32im/arch.h 
b/arch/risc-v/include/rv32im/arch.h
index ff9418f..6466ea9 100644
--- a/arch/risc-v/include/rv32im/arch.h
+++ b/arch/risc-v/include/rv32im/arch.h
@@ -59,10 +59,6 @@ static inline uint32_t riscv_getsp(void)
 }
 
 /****************************************************************************
- * Public Variables
- ****************************************************************************/
-
-/****************************************************************************
  * Public Function Prototypes
  ****************************************************************************/
 
diff --git a/arch/risc-v/include/rv32im/irq.h b/arch/risc-v/include/rv32im/irq.h
index 23d78a0..db54ce3 100644
--- a/arch/risc-v/include/rv32im/irq.h
+++ b/arch/risc-v/include/rv32im/irq.h
@@ -457,10 +457,6 @@ struct xcptcontext
 #endif /* __ASSEMBLY__ */
 
 /****************************************************************************
- * Public Variables
- ****************************************************************************/
-
-/****************************************************************************
  * Public Function Prototypes
  ****************************************************************************/
 
diff --git a/arch/risc-v/include/rv64gc/arch.h 
b/arch/risc-v/include/rv64gc/arch.h
index 58a7b3a..08d990a 100644
--- a/arch/risc-v/include/rv64gc/arch.h
+++ b/arch/risc-v/include/rv64gc/arch.h
@@ -59,10 +59,6 @@ static inline uint64_t riscv_getsp(void)
 }
 
 /****************************************************************************
- * Public Variables
- ****************************************************************************/
-
-/****************************************************************************
  * Public Function Prototypes
  ****************************************************************************/
 
diff --git a/arch/risc-v/include/rv64gc/irq.h b/arch/risc-v/include/rv64gc/irq.h
index 975d62a..0e1aebb 100644
--- a/arch/risc-v/include/rv64gc/irq.h
+++ b/arch/risc-v/include/rv64gc/irq.h
@@ -347,10 +347,6 @@ struct xcptcontext
 #endif /* __ASSEMBLY__ */
 
 /****************************************************************************
- * Public Variables
- ****************************************************************************/
-
-/****************************************************************************
  * Public Function Prototypes
  ****************************************************************************/
 
diff --git a/arch/risc-v/src/common/riscv_internal.h 
b/arch/risc-v/src/common/riscv_internal.h
index 0bc188a..34b850c 100644
--- a/arch/risc-v/src/common/riscv_internal.h
+++ b/arch/risc-v/src/common/riscv_internal.h
@@ -107,10 +107,6 @@
  * Public Types
  ****************************************************************************/
 
-/****************************************************************************
- * Public Variables
- ****************************************************************************/
-
 #undef EXTERN
 #if defined(__cplusplus)
 #define EXTERN extern "C"

Reply via email to