Skip to content

Commit

Permalink
[media] V4L: ov2640: remove undefined struct
Browse files Browse the repository at this point in the history
struct ov2640_camera_info isn't declared anywhere, remove it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Nov 3, 2011
1 parent db592a2 commit 97a0a61
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/media/video/ov2640.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ struct ov2640_win_size {

struct ov2640_priv {
struct v4l2_subdev subdev;
struct ov2640_camera_info *info;
enum v4l2_mbus_pixelcode cfmt_code;
const struct ov2640_win_size *win;
int model;
Expand Down Expand Up @@ -1153,8 +1152,6 @@ static int ov2640_probe(struct i2c_client *client,
return -ENOMEM;
}

priv->info = icl->priv;

v4l2_i2c_subdev_init(&priv->subdev, client, &ov2640_subdev_ops);

icd->ops = &ov2640_ops;
Expand Down

0 comments on commit 97a0a61

Please sign in to comment.