usb: gadget: f_midi: remove duplicated code
authorFelipe F. Tonello <eu@felipetonello.com>
Tue, 10 Nov 2015 17:52:04 +0000 (17:52 +0000)
committerFelipe Balbi <balbi@ti.com>
Tue, 15 Dec 2015 15:12:41 +0000 (09:12 -0600)
commitbc1d3cdc9c3cbbd9040da8c53237e177c38048b0
treeb669c386fbba64d3727f1b3fdd978ade740b4c2e
parent4405a2ced55f375708669550cda750452885c9de
usb: gadget: f_midi: remove duplicated code

This code is duplicated from f_midi_start_ep(midi, f, midi->out_ep).

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>
drivers/usb/gadget/function/f_midi.c