Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31bebf4a authored by Mian Yousaf Kaukab's avatar Mian Yousaf Kaukab Committed by Felipe Balbi
Browse files

usb: dwc2: gadget: remove s3c_hsotg_ep_disable_force

Force argument is not used anymore. Clean up leftovers from
https://lkml.org/lkml/2014/12/9/283



Acked-by: default avatarJohn Youn <johnyoun@synopsys.com>
Signed-off-by: default avatarMian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 097ee662
Loading
Loading
Loading
Loading
+1 −5
Original line number Original line Diff line number Diff line
@@ -2764,7 +2764,7 @@ static int s3c_hsotg_ep_enable(struct usb_ep *ep,
 * s3c_hsotg_ep_disable - disable given endpoint
 * s3c_hsotg_ep_disable - disable given endpoint
 * @ep: The endpoint to disable.
 * @ep: The endpoint to disable.
 */
 */
static int s3c_hsotg_ep_disable_force(struct usb_ep *ep, bool force)
static int s3c_hsotg_ep_disable(struct usb_ep *ep)
{
{
	struct s3c_hsotg_ep *hs_ep = our_ep(ep);
	struct s3c_hsotg_ep *hs_ep = our_ep(ep);
	struct dwc2_hsotg *hsotg = hs_ep->parent;
	struct dwc2_hsotg *hsotg = hs_ep->parent;
@@ -2807,10 +2807,6 @@ static int s3c_hsotg_ep_disable_force(struct usb_ep *ep, bool force)
	return 0;
	return 0;
}
}


static int s3c_hsotg_ep_disable(struct usb_ep *ep)
{
	return s3c_hsotg_ep_disable_force(ep, false);
}
/**
/**
 * on_list - check request is on the given endpoint
 * on_list - check request is on the given endpoint
 * @ep: The endpoint to check.
 * @ep: The endpoint to check.