[media] soc-camera: remove redundant code

A hunk, removing this code has been lost between versions 6 and 7 of
patch "soc-camera: add V4L2-async support." The code is harmless, but
redundant.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
Guennadi Liakhovetski 2015-02-01 12:06:17 -03:00 committed by Mauro Carvalho Chehab
parent 976036df5e
commit 41bc765f1e
1 changed files with 0 additions and 2 deletions

View File

@ -1797,8 +1797,6 @@ static int soc_camera_probe(struct soc_camera_host *ici,
mutex_unlock(&ici->clk_lock);
}
eadd:
video_device_release(icd->vdev);
icd->vdev = NULL;
if (icd->vdev) {
video_device_release(icd->vdev);
icd->vdev = NULL;