mirror of https://gitee.com/openkylin/linux.git
[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:
parent
976036df5e
commit
41bc765f1e
drivers/media/platform/soc_camera
|
@ -1797,8 +1797,6 @@ static int soc_camera_probe(struct soc_camera_host *ici,
|
||||||
mutex_unlock(&ici->clk_lock);
|
mutex_unlock(&ici->clk_lock);
|
||||||
}
|
}
|
||||||
eadd:
|
eadd:
|
||||||
video_device_release(icd->vdev);
|
|
||||||
icd->vdev = NULL;
|
|
||||||
if (icd->vdev) {
|
if (icd->vdev) {
|
||||||
video_device_release(icd->vdev);
|
video_device_release(icd->vdev);
|
||||||
icd->vdev = NULL;
|
icd->vdev = NULL;
|
||||||
|
|
Loading…
Reference in New Issue