]> git.baikalelectronics.ru Git - kernel.git/commit
media: davinci: remove unnecessary NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 17 Mar 2022 07:51:48 +0000 (08:51 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:18 +0000 (11:02 +0200)
commit7eed826317f227ee111858ba3ad3d3088a0f7689
tree1d66386a9efbc98248a44ed826b10182cb845454
parent408acd29ea4b37a1eeb4459cc9a60f05d158c23d
media: davinci: remove unnecessary NULL check

We verified that "vpif_obj.sd[i]" is non-NULL on the previous line so
no need to check here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/ti/davinci/vpif_display.c