]> git.baikalelectronics.ru Git - kernel.git/commit
media: dm355_ccdc: remove unnecessary check of res
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 26 Apr 2022 03:05:42 +0000 (05:05 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 13 May 2022 09:02:20 +0000 (11:02 +0200)
commitc83ed43acc8fa08a3220439992591a42f163eb4e
tree9636de9b52decc2b011a8499ca374b2533d73821
parent5140535cbf10dfcf47dc1b2f2a201c94ee5bd7ae
media: dm355_ccdc: 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/dm355_ccdc.c