Skip to contentSkip to conversation

nios2: remove the useless parenthesis in asm/io.h

PATCH New Thomas Chou 2 participants 3 messages Oct 29, 2015 – Nov 3, 2015 NIOS2 architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nios2: remove the useless parenthesis in asm/io.h

Remove the useless parenthesis in asm/io.h as suggested by Marek.

---
 arch/nios2/include/asm/io.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
arch/nios2/include/asm/io.h +4 -4
index 3443408..03a3418 100644
@@ -18,10 +18,10 @@ static inline void sync(void)
  * that can be used to access the memory range with the caching
  * properties specified by "flags".
  */
-#define MAP_NOCACHE	(1)
-#define MAP_WRCOMBINE	(0)
-#define MAP_WRBACK	(0)
-#define MAP_WRTHROUGH	(0)
+#define MAP_NOCACHE	1
+#define MAP_WRCOMBINE	0
+#define MAP_WRBACK	0
+#define MAP_WRTHROUGH	0
 
 static inline void *
 map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)
Signature · 1 line
2.1.4
#2 lore raw

PATCH 1/1 nios2: remove the useless parenthesis in asm/io.h

In reply to Thomas Chou
Quoted 8 lines · Thomas Chou

Remove the useless parenthesis in asm/io.h as suggested by Marek.

---
  arch/nios2/include/asm/io.h | 8 ++++----
  1 file changed, 4 insertions(+), 4 deletions(-)

Applied to u-boot-nios.