media: atomisp: Remove redundant NULL check
authorXu Wang <vulab@iscas.ac.cn>
Fri, 25 Dec 2020 08:38:18 +0000 (09:38 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 22:29:17 +0000 (23:29 +0100)
commitc63ef1429ac05b2447b9f8773b60c3317e6b81e3
tree41c52dc56030d5e3268650e0ab615bd62cd1ac98
parentc606970d4250dfb95869a563975c08bab148137a
media: atomisp: Remove redundant NULL check

Fix warnings reported by coccicheck:
./drivers/staging/media/atomisp/pci/runtime/isp_param/src/isp_param.c:159:4-10: WARNING: NULL check before some freeing functions is not needed.

Link: https://lore.kernel.org/linux-media/20201225083818.64588-1-vulab@iscas.ac.cn
Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/runtime/isp_param/src/isp_param.c