[PATCH v2 06/17] net2280: Remove restart_dma inline function declaration
From: Ricardo Ribalda Delgado
Date: Tue Dec 23 2014 - 15:19:49 EST
restart_dma is not used before its definition. Therefore we can
remove this declaration.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@xxxxxxxxx>
---
v2: Suggested-by Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx>
s/definition/declaration/
s/declaration/definition/
s/it is/its/
Since the changes are only in the commit message and I am out of the office
I have modified the patch with a text editor, instead of with the git workflow.
I guess it is simple enough to work, otherwise feel free to change yourself the
first commit message or wait until I am in front of a proper computer :). Thanks!
drivers/usb/gadget/udc/net2280.c | 2 --
1 file changed, 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,
--
2.1.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/