mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-07 06:52:07 +00:00
usb: musb: musb_dsps: Simplify return statement
Replace redundant variable use in return statement. Signed-off-by: Saurabh Karajgaonkar <skarajga@visteon.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
c5673f5ce4
commit
7f35296485
1 changed files with 1 additions and 5 deletions
|
@ -482,11 +482,7 @@ static int dsps_musb_init(struct musb *musb)
|
||||||
dsps_writeb(musb->mregs, MUSB_BABBLE_CTL, val);
|
dsps_writeb(musb->mregs, MUSB_BABBLE_CTL, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = dsps_musb_dbg_init(musb, glue);
|
return dsps_musb_dbg_init(musb, glue);
|
||||||
if (ret)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int dsps_musb_exit(struct musb *musb)
|
static int dsps_musb_exit(struct musb *musb)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue