Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9aa7753 authored by Manu Gautam's avatar Manu Gautam
Browse files

USB: HSIC SMSC HUB: Fix compilation warning for uninitialized variable



Fix below compilation warning:
smsc_hub.c:392: warning: 'hsic_host_auxdata' may be used
uninitialized in this function error, forbidden warning: smsc_hub.c:392

Change-Id: Ib3a4e1feaef40d065b9cd641f8bd7244cb15eb0b
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 7b6446cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ static int smsc_hub_probe(struct platform_device *pdev)
	struct device_node *node = pdev->dev.of_node;
	struct i2c_adapter *i2c_adap;
	struct i2c_board_info i2c_info;
	struct of_dev_auxdata *hsic_host_auxdata;
	struct of_dev_auxdata *hsic_host_auxdata = NULL;

	if (pdev->dev.of_node) {
		dev_dbg(&pdev->dev, "device tree enabled\n");