mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-22 04:15:42 -05:00
media: atomisp: remove redundant re-checking of err
The check to see if err is non-zero is always false because err has been previously checked on whenever err has been assigned in previous code paths. The check is redundant and can be removed. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://lore.kernel.org/r/20241012141403.1558513-1-colin.i.king@gmail.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
08964e2378
commit
d85a41d888
@@ -6299,9 +6299,6 @@ load_yuvpp_binaries(struct ia_css_pipe *pipe)
|
||||
}
|
||||
}
|
||||
|
||||
if (err)
|
||||
goto ERR;
|
||||
|
||||
ERR:
|
||||
if (need_scaler)
|
||||
ia_css_pipe_destroy_cas_scaler_desc(&cas_scaler_descr);
|
||||
|
||||
Reference in New Issue
Block a user