Revert "drivers/usb: Remove unnecessary return's from void functions" partially
This is a partial revert of 7f26b3a753
("drivers/usb: Remove unnecessary
return's from void functions") as this hunk will go through USB tree
due to conflict.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
1458ce166c
commit
5c5daf571a
@ -284,6 +284,7 @@ static void ep0_reset(struct langwell_udc *dev)
|
||||
}
|
||||
|
||||
VDBG(dev, "<--- %s()\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@ -1485,6 +1486,7 @@ static void langwell_udc_start(struct langwell_udc *dev)
|
||||
writel(usbcmd, &dev->op_regs->usbcmd);
|
||||
|
||||
DBG(dev, "<--- %s()\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@ -1507,6 +1509,7 @@ static void langwell_udc_stop(struct langwell_udc *dev)
|
||||
writel(usbcmd, &dev->op_regs->usbcmd);
|
||||
|
||||
DBG(dev, "<--- %s()\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user