summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 11:13:37 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 11:13:37 -0200
commitefba4bc12c7e81b8ece677eed5b8c8bc754802dc (patch)
tree02cf31bfe8ed23be3d27396cfa6b7ba5cc1a3126
parent11e0f1a89750d0139eecbb41b89d6b2d33a718b6 (diff)
downloadlinux-3.10-efba4bc12c7e81b8ece677eed5b8c8bc754802dc.tar.gz
linux-3.10-efba4bc12c7e81b8ece677eed5b8c8bc754802dc.tar.bz2
linux-3.10-efba4bc12c7e81b8ece677eed5b8c8bc754802dc.zip
[media] cx25840: Remove a now unused variable
drivers/media/video/cx25840/cx25840-core.c: In function ‘cx25840_s_frequency’: drivers/media/video/cx25840/cx25840-core.c:1563: warning: unused variable ‘state’ Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/cx25840/cx25840-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/cx25840/cx25840-core.c b/drivers/media/video/cx25840/cx25840-core.c
index af1eea03dd1..dfb198d0415 100644
--- a/drivers/media/video/cx25840/cx25840-core.c
+++ b/drivers/media/video/cx25840/cx25840-core.c
@@ -1560,7 +1560,6 @@ static int cx25840_s_audio_routing(struct v4l2_subdev *sd,
static int cx25840_s_frequency(struct v4l2_subdev *sd, struct v4l2_frequency *freq)
{
- struct cx25840_state *state = to_state(sd);
struct i2c_client *client = v4l2_get_subdevdata(sd);
input_change(client);