diff options
author | Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> | 2016-11-16 19:20:09 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-11-21 10:00:49 +0100 |
commit | 23e0b08a77791b205419ff481c0b813ee030c71e (patch) | |
tree | 508a0bd15dc9ee6efb88f5bce675060ae2470b28 /target/linux/generic/patches-4.4 | |
parent | 70434c3f948749690de24effbfd98f7a64e0991f (diff) | |
download | upstream-23e0b08a77791b205419ff481c0b813ee030c71e.tar.gz upstream-23e0b08a77791b205419ff481c0b813ee030c71e.tar.bz2 upstream-23e0b08a77791b205419ff481c0b813ee030c71e.zip |
kernel: remove pipetypes unused var warning
Update patch to remove pipetypes var declaration which was throwing
unused variable warning due to the original patch removing the only use.
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Diffstat (limited to 'target/linux/generic/patches-4.4')
-rw-r--r-- | target/linux/generic/patches-4.4/821-usb-Remove-annoying-warning-about-bogus-URB.patch | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/target/linux/generic/patches-4.4/821-usb-Remove-annoying-warning-about-bogus-URB.patch b/target/linux/generic/patches-4.4/821-usb-Remove-annoying-warning-about-bogus-URB.patch index c7aeb49e24..eb7cc809c7 100644 --- a/target/linux/generic/patches-4.4/821-usb-Remove-annoying-warning-about-bogus-URB.patch +++ b/target/linux/generic/patches-4.4/821-usb-Remove-annoying-warning-about-bogus-URB.patch @@ -54,7 +54,17 @@ Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> --- a/drivers/usb/core/urb.c +++ b/drivers/usb/core/urb.c -@@ -443,11 +443,6 @@ int usb_submit_urb(struct urb *urb, gfp_ +@@ -323,9 +323,6 @@ EXPORT_SYMBOL_GPL(usb_unanchor_urb); + */ + int usb_submit_urb(struct urb *urb, gfp_t mem_flags) + { +- static int pipetypes[4] = { +- PIPE_CONTROL, PIPE_ISOCHRONOUS, PIPE_BULK, PIPE_INTERRUPT +- }; + int xfertype, max; + struct usb_device *dev; + struct usb_host_endpoint *ep; +@@ -443,11 +440,6 @@ int usb_submit_urb(struct urb *urb, gfp_ * cause problems in HCDs if they get it wrong. */ |