projects
/
platform
/
upstream
/
libusb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6a34f4
)
Linux: Remove unneeded status assignation
author
Hans de Goede
<hdegoede@redhat.com>
Mon, 26 Mar 2012 22:00:28 +0000
(23:00 +0100)
committer
Pete Batard
<pete@akeo.ie>
Mon, 26 Mar 2012 22:03:25 +0000
(23:03 +0100)
* status value was never used
libusb/os/linux_usbfs.c
patch
|
blob
|
history
diff --git
a/libusb/os/linux_usbfs.c
b/libusb/os/linux_usbfs.c
index
d41aac8
..
8d88c87
100644
(file)
--- a/
libusb/os/linux_usbfs.c
+++ b/
libusb/os/linux_usbfs.c
@@
-2122,9
+2122,6
@@
static int handle_iso_completion(struct usbi_transfer *itransfer,
if (tpriv->reap_action != NORMAL) { /* cancelled or submit_fail */
usbi_dbg("CANCEL: urb status %d", urb->status);
- if (status == LIBUSB_TRANSFER_COMPLETED)
- status = LIBUSB_TRANSFER_ERROR;
-
if (tpriv->num_retired == num_urbs) {
usbi_dbg("CANCEL: last URB handled, reporting");
free_iso_urbs(tpriv);