From: Felipe Balbi Date: Wed, 17 Feb 2010 22:09:31 +0000 (-0800) Subject: omap: musb: remove unnecessary return X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=bdfa35118c3149bfa7f6b259ca528f455af07c72;p=deliverable%2Flinux.git omap: musb: remove unnecessary return trivial patch, no functional changes. Cc: linux-usb@vger.kernel.org Signed-off-by: Felipe Balbi Signed-off-by: Tony Lindgren --- 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) 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