]> git.baikalelectronics.ru Git - kernel.git/commit
media: isif: remove unnecessary check of res
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 26 Apr 2022 03:05:44 +0000 (05:05 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:20 +0000 (11:02 +0200)
commitc2c08afa003a737eda83e2948db73a8e7d9fb224
treec452830f0e008adaeb2e87a844bfc46c4b9a2d6f
parentc84e85d60dc15efdf67bb28485864ea35a48fc72
media: isif: remove unnecessary check of res

The resource is checked in probe function, so there is
no need do this check in remove function.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/ti/davinci/isif.c