diff options
author | Martiros Shakhzadyan <vrzh@vrzh.net> | 2021-04-19 21:25:57 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-05-19 09:51:38 +0200 |
commit | 9d634547323e7cb7dd11c68075e8128ce68544ae (patch) | |
tree | bf919d029c3eba1469d3a4f0fb80ffb946748f11 | |
parent | dfdd8ceb6f748abe4848fe09dedc4e5fc4c5635b (diff) |
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>
-rw-r--r-- | drivers/staging/media/atomisp/pci/sh_css.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/media/atomisp/pci/sh_css.c b/drivers/staging/media/atomisp/pci/sh_css.c index 8484c83ad29f..4d4f030e0fe0 100644 --- a/drivers/staging/media/atomisp/pci/sh_css.c +++ b/drivers/staging/media/atomisp/pci/sh_css.c @@ -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) |