diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2014-11-28 14:50:51 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 12:13:27 -0600 |
commit | 61e72dc65a9a4937d351a4b67386a6bbf70a1146 (patch) | |
tree | ae69afbeef6fc79d4fae7247c01f0d5289086d4f /drivers/usb/gadget/udc/net2280.c | |
parent | cb52c698c6030c88733c87def5c359a09b76bc1e (diff) | |
download | op-kernel-dev-61e72dc65a9a4937d351a4b67386a6bbf70a1146.zip op-kernel-dev-61e72dc65a9a4937d351a4b67386a6bbf70a1146.tar.gz |
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: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/udc/net2280.c')
-rw-r--r-- | drivers/usb/gadget/udc/net2280.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c index 0340462..e8c36db 100644 --- a/drivers/usb/gadget/udc/net2280.c +++ b/drivers/usb/gadget/udc/net2280.c @@ -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, |