[media] gspca: Remove unused ovfx2_vga_mode/ovfx2_cif_mode arrays
authorHans de Goede <hdegoede@redhat.com>
Mon, 29 Feb 2016 19:00:01 +0000 (16:00 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 1 Mar 2016 13:44:28 +0000 (10:44 -0300)
Remove the unused ovfx2_vga_mode/ovfx2_cif_mode arrays from the ov519
driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/gspca/ov519.c

index eb668e71a5e8ed85ea427a7ce8d70404091902e2..965372a5ff2f3821e1bdbdaba79ee7da17895212 100644 (file)
@@ -360,40 +360,6 @@ static const struct v4l2_pix_format ov511_sif_mode[] = {
                .priv = 0},
 };
 
-static const struct v4l2_pix_format ovfx2_vga_mode[] = {
-       {320, 240, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE,
-               .bytesperline = 320,
-               .sizeimage = 320 * 240,
-               .colorspace = V4L2_COLORSPACE_SRGB,
-               .priv = 1},
-       {640, 480, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE,
-               .bytesperline = 640,
-               .sizeimage = 640 * 480,
-               .colorspace = V4L2_COLORSPACE_SRGB,
-               .priv = 0},
-};
-static const struct v4l2_pix_format ovfx2_cif_mode[] = {
-       {160, 120, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE,
-               .bytesperline = 160,
-               .sizeimage = 160 * 120,
-               .colorspace = V4L2_COLORSPACE_SRGB,
-               .priv = 3},
-       {176, 144, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE,
-               .bytesperline = 176,
-               .sizeimage = 176 * 144,
-               .colorspace = V4L2_COLORSPACE_SRGB,
-               .priv = 1},
-       {320, 240, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE,
-               .bytesperline = 320,
-               .sizeimage = 320 * 240,
-               .colorspace = V4L2_COLORSPACE_SRGB,
-               .priv = 2},
-       {352, 288, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE,
-               .bytesperline = 352,
-               .sizeimage = 352 * 288,
-               .colorspace = V4L2_COLORSPACE_SRGB,
-               .priv = 0},
-};
 static const struct v4l2_pix_format ovfx2_ov2610_mode[] = {
        {800, 600, V4L2_PIX_FMT_SBGGR8, V4L2_FIELD_NONE,
                .bytesperline = 800,