From a932ef8ce392f1009e7c6975b195de8abd1c7f3b Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Tue, 30 Jul 2019 11:11:34 -0400 Subject: Don't require retries when dispatching. --- usbh/src/pipe.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'usbh') diff --git a/usbh/src/pipe.rs b/usbh/src/pipe.rs index cd89eb3..9b0eedd 100644 --- a/usbh/src/pipe.rs +++ b/usbh/src/pipe.rs @@ -297,8 +297,6 @@ impl Pipe<'_, '_> { retries: usize, millis: &dyn Fn() -> usize, ) -> Result<(), PipeErr> { - assert!(retries > 0); - trace!("initial regs"); self.log_regs(); -- cgit v1.2.3