diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2010-02-17 14:09:31 -0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-19 15:22:18 -0800 |
commit | bdfa35118c3149bfa7f6b259ca528f455af07c72 (patch) | |
tree | e3470bbb5428a2f337a404ce5f60495a08ad98fb /arch/arm/mach-omap2/usb-musb.c | |
parent | 9bdde53fa575d023ca51ba9df41464f62e22feb7 (diff) |
omap: musb: remove unnecessary return
trivial patch, no functional changes.
Cc: linux-usb@vger.kernel.org
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r-- | arch/arm/mach-omap2/usb-musb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index 4dfb66acc88..2221a6ccdee 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c @@ -103,10 +103,8 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data) musb_plat.power = board_data->power >> 1; musb_plat.mode = board_data->mode; - if (platform_device_register(&musb_device) < 0) { + if (platform_device_register(&musb_device) < 0) printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n"); - return; - } } #else |