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

The "bdisp->clock" variable cannot be an error pointer here.  No need to
check.

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/st/sti/bdisp/bdisp-v4l2.c