commit | 110381e11b5fbf84bc0994d4c3f4629bc362ab4c | [log] [tgz] |
---|---|---|
author | Amit Virdi <amit.virdi@st.com> | Fri Dec 19 12:40:17 2014 +0530 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jan 12 12:13:24 2015 -0600 |
tree | 4362aad21bdd85ff44657d812c5033abede6bc32 | |
parent | 997f4f81dff243858b6cdd8c3ddb39e05a050c22 [diff] |
usb: dwc3: gadget: Remove redundant check dwc3_gadget_init_hw_endpoints calls dwc3_alloc_trb_pool only if epnum is not equal to 0 or 1. Hence, rechecking it in the called function is redundant. Signed-off-by: Amit Virdi <amit.virdi@st.com> Signed-off-by: Felipe Balbi <balbi@ti.com>