commit | 21f3bb52986c5f0ab74d350486de38fafff6ddef | [log] [tgz] |
---|---|---|
author | Robert Baldyga <r.baldyga@samsung.com> | Mon Aug 29 13:38:57 2016 -0700 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Wed Aug 31 10:06:06 2016 +0300 |
tree | 95d55a9c63e11257b1c2b464380551d77b9e1f84 | |
parent | ba48eab8866ca71e7978380cf7564cf8240f28f8 [diff] |
usb: dwc2: gadget: remove dead code from dwc2_hsotg_ep_enable() Since FIFO is always freed in dwc2_hsotg_ep_disable(), ep->fifo_index is always 0 in dwc2_hsotg_ep_enable(), hence code inside if() block is never executed. Signed-off-by: Robert Baldyga <r.baldyga@samsung.com> Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>