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

Commit aeb8974a authored by Markus Elfring's avatar Markus Elfring Committed by Vinod Koul
Browse files

ste_dma40: Delete an unnecessary variable initialisation in d40_probe()



The variable "res" will eventually be set to a resource pointer from
a call of the d40_hw_detect_init(() function.
Thus let us omit the explicit initialisation at the beginning.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent a9bae06d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3544,7 +3544,7 @@ static int __init d40_probe(struct platform_device *pdev)
	struct device_node *np = pdev->dev.of_node;
	int ret = -ENOENT;
	struct d40_base *base;
	struct resource *res = NULL;
	struct resource *res;
	int num_reserved_chans;
	u32 val;