mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
usb: bdc: Fix unused assignment in bdc_probe()
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>
This commit is contained in:
parent
f0c485663d
commit
2a87445af2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue