diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-01-10 10:19:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-19 18:53:02 -0300 |
commit | c0f9976662fa569e3760187d51bc4cd7b8f00e1d (patch) | |
tree | 405954d9fc1aa1416aa2a6f7f27dbc1370be7f39 /drivers/media | |
parent | cd7334d6d6d2cfba7e34ad6605fec61b556bc822 (diff) | |
download | op-kernel-dev-c0f9976662fa569e3760187d51bc4cd7b8f00e1d.zip op-kernel-dev-c0f9976662fa569e3760187d51bc4cd7b8f00e1d.tar.gz |
[media] mt9p031: Remove unused xskip and yskip fields in struct mt9p031
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>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/mt9p031.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/video/mt9p031.c b/drivers/media/video/mt9p031.c index a15a296..490a38c 100644 --- a/drivers/media/video/mt9p031.c +++ b/drivers/media/video/mt9p031.c @@ -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; @@ -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); } |