media: staging: media: atomisp: Remove a superfluous else clause in sh_css.c

Remove a superfluous else clause in ia_css_pipe_check_format()

Signed-off-by: Martiros Shakhzadyan <vrzh@vrzh.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
Martiros Shakhzadyan 2021-04-19 21:25:57 +02:00 committed by Mauro Carvalho Chehab
parent dfdd8ceb6f
commit 9d63454732

View File

@ -5247,11 +5247,9 @@ ia_css_pipe_check_format(struct ia_css_pipe *pipe,
IA_CSS_ERROR("Requested format is not supported by binary");
IA_CSS_LEAVE_ERR_PRIVATE(-EINVAL);
return -EINVAL;
} else
{
IA_CSS_LEAVE_ERR_PRIVATE(0);
return 0;
}
IA_CSS_LEAVE_ERR_PRIVATE(0);
return 0;
}
static int load_video_binaries(struct ia_css_pipe *pipe)