diff mbox

Fix Warning ISO C90 forbids mixed declarations and code - cx88-dvb

Message ID 499b283a1003240627p4e97bd73v594f031e3f7b5726@mail.gmail.com (mailing list archive)
State Accepted
Delegated to: Douglas Landgraf
Headers show

Commit Message

Ricardo Maraschini March 24, 2010, 1:27 p.m. UTC
None
diff mbox

Patch

--- a/linux/drivers/media/video/cx88/cx88-dvb.c Tue Mar 23 17:52:23 2010 -0300
+++ b/linux/drivers/media/video/cx88/cx88-dvb.c Wed Mar 24 09:57:06 2010 -0300
@@ -1401,8 +1401,6 @@ 
        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);