usb: dwc3: remove unused @lock member of dwc3_ep struct

The member @lock of dwc3_ep struct is only initialized,
and not used elsewhere, so remove it.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
此提交包含在:
Chunfeng Yun
2019-06-20 16:12:31 +08:00
提交者 Felipe Balbi
父節點 dbb0569de8
當前提交 aa23ce847d
共有 2 個檔案被更改,包括 0 行新增4 行删除

查看文件

@@ -2271,8 +2271,6 @@ static int dwc3_gadget_init_endpoint(struct dwc3 *dwc, u8 epnum)
dep->endpoint.comp_desc = NULL;
}
spin_lock_init(&dep->lock);
if (num == 0)
ret = dwc3_gadget_init_control_endpoint(dep);
else if (direction)