Skip to content

Commit

Permalink
[media] mt9p031: Remove unused xskip and yskip fields in struct mt9p031
Browse files Browse the repository at this point in the history
The fields are set but never used, remove them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Mar 19, 2012
1 parent cd7334d commit c0f9976
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/media/video/mt9p031.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ struct mt9p031 {
struct mt9p031_platform_data *pdata;
struct mutex power_lock; /* lock to protect power_count */
int power_count;
u16 xskip;
u16 yskip;

const struct mt9p031_pll_divs *pll;

Expand Down Expand Up @@ -784,8 +782,6 @@ static int mt9p031_open(struct v4l2_subdev *subdev, struct v4l2_subdev_fh *fh)
format->field = V4L2_FIELD_NONE;
format->colorspace = V4L2_COLORSPACE_SRGB;

mt9p031->xskip = 1;
mt9p031->yskip = 1;
return mt9p031_set_power(subdev, 1);
}

Expand Down

0 comments on commit c0f9976

Please sign in to comment.