提交 10f47168 编写于 作者: J Joe Perches 提交者: Greg Kroah-Hartman

USB: langwell: Remove unnecessary return's from void functions

There are about 2500 void functions in drivers/usb
Only a few used return; at end of function.

Standardize them a bit.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 f7dd6491
......@@ -254,7 +254,6 @@ static void ep0_reset(struct langwell_udc *dev)
}
dev_vdbg(&dev->pdev->dev, "<--- %s()\n", __func__);
return;
}
......@@ -1502,7 +1501,6 @@ static void langwell_udc_start(struct langwell_udc *dev)
writel(usbcmd, &dev->op_regs->usbcmd);
dev_dbg(&dev->pdev->dev, "<--- %s()\n", __func__);
return;
}
......@@ -1525,7 +1523,6 @@ static void langwell_udc_stop(struct langwell_udc *dev)
writel(usbcmd, &dev->op_regs->usbcmd);
dev_dbg(&dev->pdev->dev, "<--- %s()\n", __func__);
return;
}
......@@ -2417,7 +2414,6 @@ static void handle_setup_packet(struct langwell_udc *dev,
}
end:
dev_vdbg(&dev->pdev->dev, "<--- %s()\n", __func__);
return;
}
......@@ -2633,7 +2629,6 @@ static void handle_trans_complete(struct langwell_udc *dev)
}
done:
dev_vdbg(&dev->pdev->dev, "<--- %s()\n", __func__);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册