media: atomisp: remove redundant NULL check of "params"
authorDing Xiang <dingxiang@cmss.chinamobile.com>
Tue, 17 Nov 2020 08:10:58 +0000 (09:10 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 22 Mar 2021 16:55:42 +0000 (17:55 +0100)
commitc1f1d76c1944525acae0a47f9d499fbaa1acdf41
treefdaad62f670a786a635e2ecbc857191426c743eb
parenta53ff69f7560513acffec2641bb6df682829eba9
media: atomisp: remove redundant NULL check of "params"

The check result of (!A || (A && B)) is equivalent to (!A || B),
so remove redundant NULL check of "params"

Link: https://lore.kernel.org/linux-media/20201117081058.673291-1-dingxiang@cmss.chinamobile.com
Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/sh_css_params.c