From 3aa4cd4dd212092eacaa9286eb46427721674c87 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Sat, 27 Jul 2019 18:51:13 -0400 Subject: Remove un-needed return. --- usbh/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usbh') diff --git a/usbh/src/lib.rs b/usbh/src/lib.rs index 38d1327..e15f279 100755 --- a/usbh/src/lib.rs +++ b/usbh/src/lib.rs @@ -375,7 +375,7 @@ where match self.devices.next(self.millis) { // TODO: new error for being out of devices. - None => return Err(PipeErr::Other), + None => Err(PipeErr::Other), Some(device) => { device.max_packet_size = desc.b_max_packet_size; debug!("Setting address to {}.", device.addr); -- cgit v1.2.3