Commit bdfa3511 authored by Felipe Balbi's avatar Felipe Balbi Committed by Tony Lindgren

omap: musb: remove unnecessary return

trivial patch, no functional changes.

Cc: linux-usb@vger.kernel.org
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 9bdde53f
...@@ -103,10 +103,8 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data) ...@@ -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.power = board_data->power >> 1;
musb_plat.mode = board_data->mode; 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"); printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n");
return;
}
} }
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment