mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
[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: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
15a78313b7
commit
630bf79a45
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue