Skip to content

Commit

Permalink
[media] soc-camera: remove redundant code
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
lyakh authored and mchehab committed Feb 2, 2015
1 parent 976036d commit 41bc765
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/media/platform/soc_camera/soc_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 41bc765

Please sign in to comment.