diff options
author | Christian Gromm <christian.gromm@microchip.com> | 2016-09-19 17:40:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 08:39:42 +0200 |
commit | 3fbcb92b74581eaec224efe6972aab7359a5230b (patch) | |
tree | f244f3e8fac20ef5e44922aee3d1cde1d06075cb /drivers/staging/most/hdm-usb | |
parent | d223b37c9f44273c0cca5138118d6c75e5110bfa (diff) |
staging: most: hdm-usb: remove calls to usb_unachor_urb
This patch removes the calls to usb_unanchor_urb() from the completion
routines, since disassociation of the URBs is already handles by the
USB subsystem.
Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most/hdm-usb')
-rw-r--r-- | drivers/staging/most/hdm-usb/hdm_usb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/most/hdm-usb/hdm_usb.c b/drivers/staging/most/hdm-usb/hdm_usb.c index f872ce9e43a1..9474b43c0f5a 100644 --- a/drivers/staging/most/hdm-usb/hdm_usb.c +++ b/drivers/staging/most/hdm-usb/hdm_usb.c @@ -401,7 +401,6 @@ static void hdm_write_completion(struct urb *urb) mbo->status = MBO_E_INVAL; break; } - usb_unanchor_urb(urb); } else { mbo->status = MBO_SUCCESS; mbo->processed_length = urb->actual_length; @@ -558,7 +557,6 @@ static void hdm_read_completion(struct urb *urb) mbo->status = MBO_E_INVAL; break; } - usb_unanchor_urb(urb); } else { mbo->processed_length = urb->actual_length; mbo->status = MBO_SUCCESS; |