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

Commit 61e72dc6 authored by Ricardo Ribalda Delgado's avatar Ricardo Ribalda Delgado Committed by Felipe Balbi
Browse files

usb: gadget: udc: net2280: Remove restart_dma inline function definition



restart_dma is not used before it is declaration. Therefore we can
remove this definition.

Signed-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent cb52c698
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1043,8 +1043,6 @@ dma_done(struct net2280_ep *ep, struct net2280_request *req, u32 dmacount,
	done(ep, req, status);
}

static void restart_dma(struct net2280_ep *ep);

static void scan_dma_completions(struct net2280_ep *ep)
{
	/* only look at descriptors that were "naturally" retired,