From: Felipe Balbi Date: Mon, 25 Jun 2012 14:09:28 +0000 (+0300) Subject: usb: dwc3: gadget: remove duplicated code from __dwc3_gadget_ep_set_halt X-Git-Tag: v3.6-rc1~101^2~53^2~27^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be2395186b3504aa5e337bd3284afb4966caae7;p=pandora-kernel.git usb: dwc3: gadget: remove duplicated code from __dwc3_gadget_ep_set_halt whenever we want to stall ep0, we always call dwc3_ep0_stall_and_restart() which makes sure to send ep0state properly rendering the code in __dwc3_gadget_ep_set_halt() duplicated. Reported-by: Pratyush Anand Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed