V4L-DVB: cx88-dvb: remove extra attribution for core
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:58:11 +0000 (15:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:58:11 +0000 (15:58 -0300)
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>
drivers/media/video/cx88/cx88-dvb.c

index 5070def..94ab862 100644 (file)
@@ -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);