From: Mauro Carvalho Chehab Date: Fri, 26 Feb 2010 18:58:11 +0000 (-0300) Subject: V4L-DVB: cx88-dvb: remove extra attribution for core X-Git-Tag: firefly_0821_release~9833^2~3102^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3621263a4d9679726b7bc1e2546c1c03941a59b4;p=firefly-linux-kernel-4.4.55.git 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 --- 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);