Skip to content

Commit

Permalink
USB: langwell: Remove unnecessary return's from void functions
Browse files Browse the repository at this point in the history
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: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent f7dd649 commit 10f4716
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/usb/gadget/langwell_udc.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ static void ep0_reset(struct langwell_udc *dev)
}

dev_vdbg(&dev->pdev->dev, "<--- %s()\n", __func__);
return;
}


Expand Down Expand Up @@ -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;
}


Expand All @@ -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;
}


Expand Down Expand Up @@ -2417,7 +2414,6 @@ static void handle_setup_packet(struct langwell_udc *dev,
}
end:
dev_vdbg(&dev->pdev->dev, "<--- %s()\n", __func__);
return;
}


Expand Down Expand Up @@ -2633,7 +2629,6 @@ static void handle_trans_complete(struct langwell_udc *dev)
}
done:
dev_vdbg(&dev->pdev->dev, "<--- %s()\n", __func__);
return;
}


Expand Down

0 comments on commit 10f4716

Please sign in to comment.