Commit e94a7369 authored by Saurabh Karajgaonkar's avatar Saurabh Karajgaonkar Committed by Greg Kroah-Hartman

usb: musb: musb_dsps: Simplify return statement

Replace redundant variable use in return statement.
Signed-off-by: default avatarSaurabh Karajgaonkar <skarajga@visteon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a9c5d8fe
......@@ -482,11 +482,7 @@ static int dsps_musb_init(struct musb *musb)
dsps_writeb(musb->mregs, MUSB_BABBLE_CTL, val);
}
ret = dsps_musb_dbg_init(musb, glue);
if (ret)
return ret;
return 0;
return dsps_musb_dbg_init(musb, glue);
}
static int dsps_musb_exit(struct musb *musb)
......
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