aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2012-06-30 04:53:36 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-30 17:38:40 -0400
commit12891794046c56957008e59a21da1b4572068430 (patch)
treec9e9646a1594267a2cf6f7674c6f12f566eebd65 /drivers/media/video/gspca
parentb56ab4ca1ca712f4b66b97c7f077883332c527b1 (diff)
[media] gspca_benq: Remove empty ctrls array
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/benq.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/gspca/benq.c b/drivers/media/video/gspca/benq.c
index 9769f17915c..f0331486962 100644
--- a/drivers/media/video/gspca/benq.c
+++ b/drivers/media/video/gspca/benq.c
@@ -33,10 +33,6 @@ struct sd {
33 struct gspca_dev gspca_dev; /* !! must be the first item */ 33 struct gspca_dev gspca_dev; /* !! must be the first item */
34}; 34};
35 35
36/* V4L2 controls supported by the driver */
37static const struct ctrl sd_ctrls[] = {
38};
39
40static const struct v4l2_pix_format vga_mode[] = { 36static const struct v4l2_pix_format vga_mode[] = {
41 {320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE, 37 {320, 240, V4L2_PIX_FMT_JPEG, V4L2_FIELD_NONE,
42 .bytesperline = 320, 38 .bytesperline = 320,
@@ -256,8 +252,6 @@ static void sd_isoc_irq(struct urb *urb)
256/* sub-driver description */ 252/* sub-driver description */
257static const struct sd_desc sd_desc = { 253static const struct sd_desc sd_desc = {
258 .name = MODULE_NAME, 254 .name = MODULE_NAME,
259 .ctrls = sd_ctrls,
260 .nctrls = ARRAY_SIZE(sd_ctrls),
261 .config = sd_config, 255 .config = sd_config,
262 .init = sd_init, 256 .init = sd_init,
263 .start = sd_start, 257 .start = sd_start,