diff options
author | Felipe Balbi <felipe.balbi@nokia.com> | 2010-02-17 17:09:31 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-02-19 18:22:18 -0500 |
commit | bdfa35118c3149bfa7f6b259ca528f455af07c72 (patch) | |
tree | e3470bbb5428a2f337a404ce5f60495a08ad98fb | |
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>
-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 4dfb66acc888..2221a6ccdeee 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) | |||
103 | musb_plat.power = board_data->power >> 1; | 103 | musb_plat.power = board_data->power >> 1; |
104 | musb_plat.mode = board_data->mode; | 104 | musb_plat.mode = board_data->mode; |
105 | 105 | ||
106 | if (platform_device_register(&musb_device) < 0) { | 106 | if (platform_device_register(&musb_device) < 0) |
107 | printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n"); | 107 | printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n"); |
108 | return; | ||
109 | } | ||
110 | } | 108 | } |
111 | 109 | ||
112 | #else | 110 | #else |