Skip to content

Commit

Permalink
[media] sr030pc30: Remove empty s_stream op
Browse files Browse the repository at this point in the history
s_stream does nothing in current form so remove it.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Sylwester Nawrocki authored and Mauro Carvalho Chehab committed Sep 21, 2011
1 parent 6f43dbf commit e553000
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/media/video/sr030pc30.c
Original file line number Diff line number Diff line change
Expand Up @@ -714,11 +714,6 @@ static int sr030pc30_base_config(struct v4l2_subdev *sd)
return ret;
}

static int sr030pc30_s_stream(struct v4l2_subdev *sd, int enable)
{
return 0;
}

static int sr030pc30_s_power(struct v4l2_subdev *sd, int on)
{
struct i2c_client *client = v4l2_get_subdevdata(sd);
Expand Down Expand Up @@ -764,7 +759,6 @@ static const struct v4l2_subdev_core_ops sr030pc30_core_ops = {
};

static const struct v4l2_subdev_video_ops sr030pc30_video_ops = {
.s_stream = sr030pc30_s_stream,
.g_mbus_fmt = sr030pc30_g_fmt,
.s_mbus_fmt = sr030pc30_s_fmt,
.try_mbus_fmt = sr030pc30_try_fmt,
Expand Down

0 comments on commit e553000

Please sign in to comment.