diff options
| author | Amit Virdi <amit.virdi@st.com> | 2014-12-19 12:40:17 +0530 |
|---|---|---|
| committer | Felipe Balbi <balbi@ti.com> | 2015-01-12 12:13:24 -0600 |
| commit | 110381e11b5fbf84bc0994d4c3f4629bc362ab4c (patch) | |
| tree | 4362aad21bdd85ff44657d812c5033abede6bc32 /net/lapb/lapb_timer.c | |
| 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>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
