summaryrefslogtreecommitdiffstats
path: root/drivers/usb/c67x00
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-11-01 10:01:22 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-01 17:05:17 +0100
commit612a1b948c185cf24384e02c564512091633de30 (patch)
treec37cb177aebbb45c26401187ccf4f8e8d91b3086 /drivers/usb/c67x00
parent098a006927b8843a335503aee2569c3f2b030cb6 (diff)
downloadlinux-612a1b948c185cf24384e02c564512091633de30.tar.gz
linux-612a1b948c185cf24384e02c564512091633de30.tar.bz2
linux-612a1b948c185cf24384e02c564512091633de30.zip
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>
Diffstat (limited to 'drivers/usb/c67x00')
-rw-r--r--drivers/usb/c67x00/c67x00-sched.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/c67x00/c67x00-sched.c b/drivers/usb/c67x00/c67x00-sched.c
index 7311ed61e99a..0b68cd6874d2 100644
--- a/drivers/usb/c67x00/c67x00-sched.c
+++ b/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)
{
struct urb *urb = td->urb;
- struct c67x00_urb_priv *urbp;
int cnt;
if (!urb)
return;
- urbp = urb->hcpriv;
cnt = td->privdata;
if (td->status & TD_ERROR_MASK)