Staging: media: Change data value in setup_timer function
authorVaishali Thakkar <vthakkar1994@gmail.com>
Wed, 18 Feb 2015 16:52:38 +0000 (22:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 20:23:59 +0000 (12:23 -0800)
Here, data value 0xabadcafe in function setup_timer
seems like a nonsense value and timer handler function
is not using it anyway. So, change it to 0.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/lirc/lirc_sir.c

index d1ada8c72f0d186524fe23b0dbdb4c41dabf6eb1..29087f66e2f40126f608babc0d4e36f568987643 100644 (file)
@@ -683,7 +683,7 @@ static int init_port(void)
        }
        pr_info("I/O port 0x%.4x, IRQ %d.\n", io, irq);
 
-       setup_timer(&timerlist, sir_timeout, 0xabadcafe);
+       setup_timer(&timerlist, sir_timeout, 0);
 
        return 0;
 }