Forráskód Böngészése

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>
Mauro Carvalho Chehab 15 éve
szülő
commit
3621263a4d
1 módosított fájl, 0 hozzáadás és 2 törlés
  1. 0 2
      drivers/media/video/cx88/cx88-dvb.c

+ 0 - 2
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);