usb: dwc3: no need to initialize ret variable

First usage of ret variable will re-write initial value. Thus, there is no need
to initialize it.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Andy Shevchenko
2014-05-15 15:53:32 +03:00
committed by Felipe Balbi
parent 7419485f19
commit b09e99ee7c
5 changed files with 9 additions and 11 deletions

View File

@@ -584,7 +584,7 @@ static int __dwc3_gadget_ep_enable(struct dwc3_ep *dep,
{
struct dwc3 *dwc = dep->dwc;
u32 reg;
int ret = -ENOMEM;
int ret;
dev_vdbg(dwc->dev, "Enabling %s\n", dep->name);