Commit 7f352964 authored by Saurabh Karajgaonkar's avatar Saurabh Karajgaonkar Committed by Felipe Balbi

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 avatarFelipe Balbi <balbi@ti.com>
parent c5673f5c
......@@ -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