提交 61e72dc6 编写于 作者: R Ricardo Ribalda Delgado 提交者: Felipe Balbi

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: NRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: NFelipe Balbi <balbi@ti.com>
上级 cb52c698
...@@ -1043,8 +1043,6 @@ dma_done(struct net2280_ep *ep, struct net2280_request *req, u32 dmacount, ...@@ -1043,8 +1043,6 @@ dma_done(struct net2280_ep *ep, struct net2280_request *req, u32 dmacount,
done(ep, req, status); done(ep, req, status);
} }
static void restart_dma(struct net2280_ep *ep);
static void scan_dma_completions(struct net2280_ep *ep) static void scan_dma_completions(struct net2280_ep *ep)
{ {
/* only look at descriptors that were "naturally" retired, /* only look at descriptors that were "naturally" retired,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册