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

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.cn


Signed-off-by: default avatarXu Wang <vulab@iscas.ac.cn>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent c63ef142
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -386,7 +386,6 @@ ia_css_isp_dvs_statistics_map_allocate(

	return me;
err:
	if (me)
	kvfree(me);
	return NULL;
}