aboutsummaryrefslogtreecommitdiffstats
path: root/applied/usb-remove-unneeded-idr.h-include.patch
diff options
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-06 05:54:31 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-06 05:54:31 +0800
commitbff1dff74d7d6d1bbe6aacc9b74d3c64d3443edd (patch)
tree3a37fed17bfca852475d416d709c0808e6d202f4 /applied/usb-remove-unneeded-idr.h-include.patch
parent348b7247cdbca9abadd5cb0bdddba7e2129235d9 (diff)
parent6866d52ad99a8c2c5301c7371fce365d25b2d0be (diff)
downloadpatches-bff1dff74d7d6d1bbe6aacc9b74d3c64d3443edd.tar.gz
Merge branch 'master' of ra.kernel.org:/pub/scm/linux/kernel/git/gregkh/patches
Diffstat (limited to 'applied/usb-remove-unneeded-idr.h-include.patch')
-rw-r--r--applied/usb-remove-unneeded-idr.h-include.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/applied/usb-remove-unneeded-idr.h-include.patch b/applied/usb-remove-unneeded-idr.h-include.patch
new file mode 100644
index 00000000000000..3a5082c2d6b8cd
--- /dev/null
+++ b/applied/usb-remove-unneeded-idr.h-include.patch
@@ -0,0 +1,36 @@
+From foo@baz Tue Jul 2 12:19:50 PDT 2013
+Date: Tue, 02 Jul 2013 12:19:50 -0700
+To: Greg KH <gregkh@linuxfoundation.org>
+From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Subject: USB: remove unneeded idr.h include
+
+None of these USB files need idr.h, so don't include it.
+
+Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
+Cc: Felipe Balbi <balbi@ti.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/usb/core/endpoint.c | 1 -
+ drivers/usb/musb/musb_core.c | 1 -
+ 2 files changed, 2 deletions(-)
+
+--- a/drivers/usb/core/endpoint.c
++++ b/drivers/usb/core/endpoint.c
+@@ -12,7 +12,6 @@
+ #include <linux/kernel.h>
+ #include <linux/spinlock.h>
+ #include <linux/slab.h>
+-#include <linux/idr.h>
+ #include <linux/usb.h>
+ #include "usb.h"
+
+--- a/drivers/usb/musb/musb_core.c
++++ b/drivers/usb/musb/musb_core.c
+@@ -99,7 +99,6 @@
+ #include <linux/prefetch.h>
+ #include <linux/platform_device.h>
+ #include <linux/io.h>
+-#include <linux/idr.h>
+ #include <linux/dma-mapping.h>
+
+ #include "musb_core.h"