aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:58:11 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:58:11 -0300
commit3621263a4d9679726b7bc1e2546c1c03941a59b4 (patch)
treee3718cd5b068afeb026ab418496922b7b3e353ae /drivers/media
parentV4L/DVB: v4l: soc_camera: fix bound checking of mbus_fmt[] index (diff)
downloadlinux-dev-3621263a4d9679726b7bc1e2546c1c03941a59b4.tar.xz
linux-dev-3621263a4d9679726b7bc1e2546c1c03941a59b4.zip
V4L-DVB: cx88-dvb: remove extra attribution for core
This is not needed, since the function already do it. Also, it causes a warning at the compilation, since a new var is declared in the middle of the code. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/cx88/cx88-dvb.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c
index 5070deffcfc1..94ab862f0219 100644
--- a/drivers/media/video/cx88/cx88-dvb.c
+++ b/drivers/media/video/cx88/cx88-dvb.c
@@ -1394,8 +1394,6 @@ static int dvb_register(struct cx8802_dev *dev)
case CX88_BOARD_SAMSUNG_SMT_7020:
dev->ts_gen_cntrl = 0x08;
- struct cx88_core *core = dev->core;
-
cx_set(MO_GP0_IO, 0x0101);
cx_clear(MO_GP0_IO, 0x01);