usb: gadget: fotg210-udc: remove duplicate conditions
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 29 Jul 2015 21:29:23 +0000 (00:29 +0300)
committerFelipe Balbi <balbi@ti.com>
Thu, 30 Jul 2015 16:43:37 +0000 (11:43 -0500)
commit1c99cabfc95d3b08fbf06d558ebfa76b5303710c
tree496fb62e3f8942c1573708cc66bd572b907028eb
parent6f98f545b0b4effdf67e83e214a4eb13cd41fba2
usb: gadget: fotg210-udc: remove duplicate conditions

We handle the "if (!req->req.length)" condition at the start of the
function and return.  We can delete this dead code.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/fotg210-udc.c