From: Felipe F. Tonello Date: Tue, 10 Nov 2015 17:52:07 +0000 (+0000) Subject: usb: gadget: gmidi: Cleanup legacy code X-Git-Tag: v4.5-rc1~124^2~6^2~70 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=38660ac7beb53b5f7bdb1d325a93c70cb7ba429f;p=karo-tx-linux.git usb: gadget: gmidi: Cleanup legacy code Remove unnecessary headers and variables. Reviewed-by: Robert Baldyga Signed-off-by: Felipe F. Tonello Signed-off-by: Felipe Balbi --- 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 -#include #include -#include -#include #include -#include -#include #include #include -#include -#include #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();