diff options
-rw-r--r-- | drivers/usb/core/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/config.c b/drivers/usb/core/config.c index a16c538d0132..0d3af6a6ee49 100644 --- a/drivers/usb/core/config.c +++ b/drivers/usb/core/config.c | |||
@@ -105,7 +105,7 @@ static int usb_parse_ss_endpoint_companion(struct device *ddev, int cfgno, | |||
105 | ep->ss_ep_comp->extralen = i; | 105 | ep->ss_ep_comp->extralen = i; |
106 | buffer += i; | 106 | buffer += i; |
107 | size -= i; | 107 | size -= i; |
108 | retval = buffer - buffer_start + i; | 108 | retval = buffer - buffer_start; |
109 | if (num_skipped > 0) | 109 | if (num_skipped > 0) |
110 | dev_dbg(ddev, "skipped %d descriptor%s after %s\n", | 110 | dev_dbg(ddev, "skipped %d descriptor%s after %s\n", |
111 | num_skipped, plural(num_skipped), | 111 | num_skipped, plural(num_skipped), |