Commit 3f25ea56 authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab

[media] gspca_stv0680: Remove empty ctrls array

Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent a8931d59
...@@ -46,10 +46,6 @@ struct sd { ...@@ -46,10 +46,6 @@ struct sd {
u8 current_mode; u8 current_mode;
}; };
/* V4L2 controls supported by the driver */
static const struct ctrl sd_ctrls[] = {
};
static int stv_sndctrl(struct gspca_dev *gspca_dev, int set, u8 req, u16 val, static int stv_sndctrl(struct gspca_dev *gspca_dev, int set, u8 req, u16 val,
int size) int size)
{ {
...@@ -318,8 +314,6 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev, ...@@ -318,8 +314,6 @@ static void sd_pkt_scan(struct gspca_dev *gspca_dev,
/* sub-driver description */ /* sub-driver description */
static const struct sd_desc sd_desc = { static const struct sd_desc sd_desc = {
.name = MODULE_NAME, .name = MODULE_NAME,
.ctrls = sd_ctrls,
.nctrls = ARRAY_SIZE(sd_ctrls),
.config = sd_config, .config = sd_config,
.init = sd_init, .init = sd_init,
.start = sd_start, .start = sd_start,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment