From 3621263a4d9679726b7bc1e2546c1c03941a59b4 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Fri, 26 Feb 2010 15:58:11 -0300 Subject: [PATCH] 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 --- drivers/media/video/cx88/cx88-dvb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/video/cx88/cx88-dvb.c b/drivers/media/video/cx88/cx88-dvb.c index 5070def..94ab862 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); -- 2.7.4