projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5673f5
)
usb: musb: musb_dsps: Simplify return statement
author
Saurabh Karajgaonkar
<skarajga@visteon.com>
Tue, 4 Aug 2015 14:02:28 +0000
(14:02 +0000)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 4 Aug 2015 16:02:09 +0000
(11:02 -0500)
Replace redundant variable use in return statement.
Signed-off-by: Saurabh Karajgaonkar <skarajga@visteon.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_dsps.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/musb/musb_dsps.c
b/drivers/usb/musb/musb_dsps.c
index 1334a3de31b8e937756d9546073d41f71ee513bd..a0cfead6150f13a58fc83d50fa0a0559b8bc8908 100644
(file)
--- a/
drivers/usb/musb/musb_dsps.c
+++ b/
drivers/usb/musb/musb_dsps.c
@@
-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)