Commit 2a87445a authored by Tang Bin's avatar Tang Bin Committed by Felipe Balbi
Browse files

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: default avatarZhang Shengju <zhangshengju@cmss.chinamobile.com>
Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent f0c48566
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;