V4L/DVB: saa7134: clear warning noise

Previous thread: V4L/DVB: rename all *_rc_keys to ir_codes_*_nec_table by Linux Kernel Mailing List on Thursday, May 20, 2010 - 11:04 am. (1 message)

Next thread: V4L/DVB: ir-core: add two functions to report keyup/keydown events by Linux Kernel Mailing List on Thursday, May 20, 2010 - 11:03 am. (1 message)
From: Linux Kernel Mailing List
Date: Thursday, May 20, 2010 - 11:03 am

Gitweb:     http://git.kernel.org/linus/d89b4bd2b47395339d5b5b6a7e28f91dd0d21b7b
Commit:     d89b4bd2b47395339d5b5b6a7e28f91dd0d21b7b
Parent:     20d5f116ec777c9c7ce5b74f0d17ee1d01a0d833
Author:     Mauro Carvalho Chehab <mchehab@redhat.com>
AuthorDate: Fri Mar 26 22:39:29 2010 -0300
Committer:  Mauro Carvalho Chehab <mchehab@redhat.com>
CommitDate: Tue May 18 00:53:01 2010 -0300

    V4L/DVB: saa7134: clear warning noise
    
    drivers/media/video/saa7134/saa7134-input.c: In function ‘saa7134_raw_decode_irq’:
    drivers/media/video/saa7134/saa7134-input.c:957: warning: unused variable ‘oldpulse’
    drivers/media/video/saa7134/saa7134-input.c:957: warning: unused variable ‘count’
    
    Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---
 drivers/media/video/saa7134/saa7134-input.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/saa7134/saa7134-input.c b/drivers/media/video/saa7134/saa7134-input.c
index 39564db..e278d73 100644
--- a/drivers/media/video/saa7134/saa7134-input.c
+++ b/drivers/media/video/saa7134/saa7134-input.c
@@ -955,7 +955,7 @@ static int saa7134_raw_decode_irq(struct saa7134_dev *dev)
 {
 	struct card_ir	*ir = dev->remote;
 	unsigned long 	timeout;
-	int count, pulse, oldpulse;
+	int pulse;
 
 	/* Generate initial event */
 	saa_clearb(SAA7134_GPIO_GPMODE3, SAA7134_GPIO_GPRESCAN);
--

Previous thread: V4L/DVB: rename all *_rc_keys to ir_codes_*_nec_table by Linux Kernel Mailing List on Thursday, May 20, 2010 - 11:04 am. (1 message)

Next thread: V4L/DVB: ir-core: add two functions to report keyup/keydown events by Linux Kernel Mailing List on Thursday, May 20, 2010 - 11:03 am. (1 message)