You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2020/11/30 08:43:34 UTC
[incubator-nuttx] 02/03: arm/sama5: Fix error:
chip/sam_ehci.c:340:38: error: statement with no effect
This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 4ebf446ebb51b291050824e2fb9c2270761a9455
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Nov 27 19:41:46 2020 +0800
arm/sama5: Fix error: chip/sam_ehci.c:340:38: error: statement with no effect
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
arch/arm/src/sama5/sam_ehci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/src/sama5/sam_ehci.c b/arch/arm/src/sama5/sam_ehci.c
index f372908..4910ef4 100644
--- a/arch/arm/src/sama5/sam_ehci.c
+++ b/arch/arm/src/sama5/sam_ehci.c
@@ -336,8 +336,8 @@ static int sam_qh_dump(struct sam_qh_s *qh, uint32_t **bp, void *arg);
#else
# define sam_qtd_print(qtd)
# define sam_qh_print(qh)
-# define sam_qtd_dump(qtd, bp, arg) OK
-# define sam_qh_dump(qh, bp, arg) OK
+# define sam_qtd_dump(qtd, bp, arg)
+# define sam_qh_dump(qh, bp, arg)
#endif
static inline uint8_t sam_ehci_speed(uint8_t usbspeed);