arm/sama5: Fix error: chip/sam_ehci.c:340:38: error: statement with no effect

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2020-11-27 19:41:46 +08:00
committed by Alin Jerpelea
parent bb8c4485a2
commit 4ebf446ebb
+2 -2
View File
@@ -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);