Commit 23817e5c authored by Xu Wang's avatar Xu Wang Committed by Mauro Carvalho Chehab

media: atomisp: Remove redundant NULL check

./drivers/staging/media/atomisp/pci/isp/kernels/sdis/sdis_1.0/ia_css_sdis.host.c:390:2-8: WARNING: NULL check before some freeing functions is not needed.

Link: https://lore.kernel.org/linux-media/20201225084524.64839-1-vulab@iscas.ac.cnSigned-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent c63ef142
...@@ -386,7 +386,6 @@ ia_css_isp_dvs_statistics_map_allocate( ...@@ -386,7 +386,6 @@ ia_css_isp_dvs_statistics_map_allocate(
return me; return me;
err: err:
if (me)
kvfree(me); kvfree(me);
return NULL; return NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment