mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08: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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a9c5d8feb9
commit
e94a7369a9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user