[RFC PATCH] usb: dwc2: host: dwc2_check_qtd_still_ok() can be static

kbuild test robot lkp at intel.com
Wed Oct 14 13:44:43 PDT 2015


Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---
 hcd_intr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/dwc2/hcd_intr.c b/drivers/usb/dwc2/hcd_intr.c
index 57e71f9d..b31a1fb 100644
--- a/drivers/usb/dwc2/hcd_intr.c
+++ b/drivers/usb/dwc2/hcd_intr.c
@@ -1956,7 +1956,7 @@ static void dwc2_hc_chhltd_intr(struct dwc2_hsotg *hsotg,
  * the qtd from the top of the list, this will return NULL.  Otherwise
  * it will be passed back qtd.
  */
-struct dwc2_qtd *dwc2_check_qtd_still_ok(struct dwc2_qtd *qtd,
+static struct dwc2_qtd *dwc2_check_qtd_still_ok(struct dwc2_qtd *qtd,
 					    struct list_head *qtd_list)
 {
 	struct dwc2_qtd *cur_head;



More information about the Linux-rockchip mailing list