usb: gadget: udc: net2280: Remove restart_dma inline function definition
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Fri, 28 Nov 2014 13:50:51 +0000 (14:50 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:13:27 +0000 (12:13 -0600)
restart_dma is not used before it is declaration. Therefore we can
remove this definition.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/net2280.c

index 03404626143db9dfde1fb6b9130a7d33d6f47df8..e8c36db93e9e9722b6b209952af7c8afbb179eed 100644 (file)
@@ -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,