OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c4856
)
usb: bdc: Fix unused assignment in bdc_probe()
author
Tang Bin
<tangbin@cmss.chinamobile.com>
Sun, 27 Sep 2020 13:53:04 +0000
(21:53 +0800)
committer
Felipe Balbi
<balbi@kernel.org>
Fri, 2 Oct 2020 06:57:45 +0000
(09:57 +0300)
Delete unused initialized value of 'ret', because it will
be assigned by the function clk_prepare_enable().
Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/udc/bdc/bdc_core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/udc/bdc/bdc_core.c
b/drivers/usb/gadget/udc/bdc/bdc_core.c
index
5ff3652
..
96e1fca
100644
(file)
--- a/
drivers/usb/gadget/udc/bdc/bdc_core.c
+++ b/
drivers/usb/gadget/udc/bdc/bdc_core.c
@@
-484,7
+484,7
@@
static void bdc_phy_exit(struct bdc *bdc)
static int bdc_probe(struct platform_device *pdev)
{
struct bdc *bdc;
- int ret
= -ENOMEM
;
+ int ret;
int irq;
u32 temp;
struct device *dev = &pdev->dev;