[media] V4L: sh_mobile_ceu_camera: remove duplicated code
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 26 Jul 2011 14:12:14 +0000 (11:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:27:11 +0000 (18:27 -0200)
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/sh_mobile_ceu_camera.c

index 7841fde1cc4e1aee4b88e69ffd2e3e94aa0ebfd2..d1359f441a04108b36561828602ac81de2c9d146 100644 (file)
@@ -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;