[media] uvcvideo: Drop unused ctrl member from struct uvc_control_mapping

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Hans de Goede 2012-04-08 12:59:54 -03:00 committed by Mauro Carvalho Chehab
parent 805e9b4a06
commit d1c07ef113
2 changed files with 0 additions and 3 deletions

View file

@ -1880,7 +1880,6 @@ static int __uvc_ctrl_add_mapping(struct uvc_device *dev,
if (map->set == NULL)
map->set = uvc_set_le_value;
map->ctrl = &ctrl->info;
list_add_tail(&map->list, &ctrl->info.mappings);
uvc_trace(UVC_TRACE_CONTROL,
"Adding mapping '%s' to control %pUl/%u.\n",

View file

@ -157,8 +157,6 @@ struct uvc_control_mapping {
struct list_head list;
struct list_head ev_subs;
struct uvc_control_info *ctrl;
__u32 id;
__u8 name[32];
__u8 entity[16];