提交 e94a7369 编写于 作者: S Saurabh Karajgaonkar 提交者: Greg Kroah-Hartman

usb: musb: musb_dsps: Simplify return statement

Replace redundant variable use in return statement.
Signed-off-by: NSaurabh Karajgaonkar <skarajga@visteon.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册