diff options
author | Felipe F. Tonello <eu@felipetonello.com> | 2015-11-10 18:52:07 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-12-15 16:12:41 +0100 |
commit | 38660ac7beb53b5f7bdb1d325a93c70cb7ba429f (patch) | |
tree | e3e553b25b93d87ca31a7be8ee07dac9d48d3ed0 /drivers/usb/gadget | |
parent | usb: gadget: define free_ep_req as universal function (diff) | |
download | linux-38660ac7beb53b5f7bdb1d325a93c70cb7ba429f.tar.xz linux-38660ac7beb53b5f7bdb1d325a93c70cb7ba429f.zip |
usb: gadget: gmidi: Cleanup legacy code
Remove unnecessary headers and variables.
Reviewed-by: Robert Baldyga <r.baldyga@samsung.com>
Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r-- | drivers/usb/gadget/legacy/gmidi.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/usb/gadget/legacy/gmidi.c b/drivers/usb/gadget/legacy/gmidi.c index 8a18348ae86e..be8e91d68e14 100644 --- a/drivers/usb/gadget/legacy/gmidi.c +++ b/drivers/usb/gadget/legacy/gmidi.c @@ -21,19 +21,12 @@ /* #define VERBOSE_DEBUG */ #include <linux/kernel.h> -#include <linux/slab.h> #include <linux/module.h> -#include <linux/device.h> -#include <sound/core.h> #include <sound/initval.h> -#include <sound/rawmidi.h> -#include <linux/usb/ch9.h> #include <linux/usb/composite.h> #include <linux/usb/gadget.h> -#include <linux/usb/audio.h> -#include <linux/usb/midi.h> #include "u_midi.h" @@ -42,7 +35,6 @@ MODULE_AUTHOR("Ben Williamson"); MODULE_LICENSE("GPL v2"); -static const char shortname[] = "g_midi"; static const char longname[] = "MIDI Gadget"; USB_GADGET_COMPOSITE_OPTIONS(); |