Skip to content

Commit

Permalink
usb: musb: musb_dsps: Simplify return statement
Browse files Browse the repository at this point in the history
Replace redundant variable use in return statement.

Signed-off-by: Saurabh Karajgaonkar <skarajga@visteon.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Saurabh Karajgaonkar authored and Felipe Balbi committed Aug 4, 2015
1 parent c5673f5 commit 7f35296
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/usb/musb/musb_dsps.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7f35296

Please sign in to comment.