Browse Source

USB: c67x00: remove redundant pointer urbp

Pointer urbp is assigned but is never read, hence it is redundant
and can be removed. Cleans up clang warning:

drivers/usb/c67x00/c67x00-sched.c:975:2: warning: Value stored to 'urbp'
is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Colin Ian King 7 years ago
parent
commit
612a1b948c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      drivers/usb/c67x00/c67x00-sched.c

+ 0 - 2
drivers/usb/c67x00/c67x00-sched.c

@@ -966,13 +966,11 @@ static void c67x00_handle_successful_td(struct c67x00_hcd *c67x00,
 static void c67x00_handle_isoc(struct c67x00_hcd *c67x00, struct c67x00_td *td)
 static void c67x00_handle_isoc(struct c67x00_hcd *c67x00, struct c67x00_td *td)
 {
 {
 	struct urb *urb = td->urb;
 	struct urb *urb = td->urb;
-	struct c67x00_urb_priv *urbp;
 	int cnt;
 	int cnt;
 
 
 	if (!urb)
 	if (!urb)
 		return;
 		return;
 
 
-	urbp = urb->hcpriv;
 	cnt = td->privdata;
 	cnt = td->privdata;
 
 
 	if (td->status & TD_ERROR_MASK)
 	if (td->status & TD_ERROR_MASK)