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

Commit dc227890 authored by Fabio Estevam's avatar Fabio Estevam Committed by Lucas Stach
Browse files

drm/etnaviv: remove unneeded variable initialization



There is no need to initialize variable 'err' with 0 because it will
be properly assigned later on.

Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
parent db60eda3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1652,7 +1652,7 @@ static int etnaviv_gpu_platform_probe(struct platform_device *pdev)
{
	struct device *dev = &pdev->dev;
	struct etnaviv_gpu *gpu;
	int err = 0;
	int err;

	gpu = devm_kzalloc(dev, sizeof(*gpu), GFP_KERNEL);
	if (!gpu)