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

Commit 630bf79a authored by Markus Elfring's avatar Markus Elfring Committed by Mauro Carvalho Chehab
Browse files

[media] DaVinci-VPBE: Delete an unnecessary variable initialisation in vpbe_set_output()



The local variable "ret" will be set to an appropriate value a bit later.
Thus omit the explicit initialisation at the beginning.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 15a78313
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -230,7 +230,7 @@ static int vpbe_set_output(struct vpbe_device *vpbe_dev, int index)
	u32 if_params;
	int enc_out_index;
	int sd_index;
	int ret = 0;
	int ret;

	if (index >= cfg->num_outputs)
		return -EINVAL;