diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2014-05-15 08:53:32 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-05-15 11:26:21 -0400 |
commit | b09e99ee7c2b7ee80cca128b93b07fb830e6ecad (patch) | |
tree | c3ef26babf9053b0d4c41a620c4def8389e88e5c /drivers/usb/dwc3/dwc3-omap.c | |
parent | 7419485f197c436d41535df78ddea1085042d271 (diff) |
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>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-omap.c')
-rw-r--r-- | drivers/usb/dwc3/dwc3-omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 1160ff41bed4..4af4c3567656 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb/dwc3/dwc3-omap.c | |||
@@ -393,7 +393,7 @@ static int dwc3_omap_probe(struct platform_device *pdev) | |||
393 | struct extcon_dev *edev; | 393 | struct extcon_dev *edev; |
394 | struct regulator *vbus_reg = NULL; | 394 | struct regulator *vbus_reg = NULL; |
395 | 395 | ||
396 | int ret = -ENOMEM; | 396 | int ret; |
397 | int irq; | 397 | int irq; |
398 | 398 | ||
399 | int utmi_mode = 0; | 399 | int utmi_mode = 0; |