Skip to content

Commit

Permalink
[media] uvcvideo: Drop unused ctrl member from struct uvc_control_map…
Browse files Browse the repository at this point in the history
…ping

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>
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed May 7, 2012
1 parent 805e9b4 commit d1c07ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion drivers/media/video/uvc/uvc_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions drivers/media/video/uvc/uvcvideo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit d1c07ef

Please sign in to comment.