@@ -179,8 +179,6 @@ static int cdns3_plat_probe(struct platform_device *pdev)
/**
* cdns3_plat_remove() - unbind drd driver and clean up
* @pdev: Pointer to Linux platform device
- *
- * Returns 0 on success otherwise negative errno
*/
static void cdns3_plat_remove(struct platform_device *pdev)
{
@@ -2178,8 +2178,6 @@ static int xudc_probe(struct platform_device *pdev)
/**
* xudc_remove - Releases the resources allocated during the initialization.
* @pdev: pointer to the platform device structure.
- *
- * Return: 0 always
*/
static void xudc_remove(struct platform_device *pdev)
{
These function don't return value, remove the invalid comments. Signed-off-by: Li Qiong <liqiong@nfschina.com> --- drivers/usb/cdns3/cdns3-plat.c | 2 -- drivers/usb/gadget/udc/udc-xilinx.c | 2 -- 2 files changed, 4 deletions(-)