summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/sh_mobile_ceu_camera.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2011-07-26 11:12:14 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-03 18:27:11 -0200
commitfd861a072ca66b32db923f5cf8199b192317dda7 (patch)
treef0a6a135b8fe723db760abfd899ef061c97faf1a /drivers/media/video/sh_mobile_ceu_camera.c
parent15f517e2726cae7d9ed2a0bccb6e36dbf3fff456 (diff)
downloadlinux-fd861a072ca66b32db923f5cf8199b192317dda7.tar.gz
linux-fd861a072ca66b32db923f5cf8199b192317dda7.tar.bz2
linux-fd861a072ca66b32db923f5cf8199b192317dda7.zip
[media] V4L: sh_mobile_ceu_camera: remove duplicated code
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/sh_mobile_ceu_camera.c')
-rw-r--r--drivers/media/video/sh_mobile_ceu_camera.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/video/sh_mobile_ceu_camera.c b/drivers/media/video/sh_mobile_ceu_camera.c
index 7841fde1cc4e..d1359f441a04 100644
--- a/drivers/media/video/sh_mobile_ceu_camera.c
+++ b/drivers/media/video/sh_mobile_ceu_camera.c
@@ -1018,9 +1018,6 @@ static int sh_mobile_ceu_get_formats(struct soc_camera_device *icd, unsigned int
cam->width = mf.width;
cam->height = mf.height;
- cam->width = mf.width;
- cam->height = mf.height;
-
icd->host_priv = cam;
} else {
cam = icd->host_priv;