[media] mantis: fix compiler warnings
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 25 Aug 2011 13:40:07 +0000 (10:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 6 Sep 2011 17:45:20 +0000 (14:45 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/hopper_cards.c
drivers/media/dvb/mantis/mantis_cards.c

index 1402062f2c89b570511bc9dfae2a986def9051f4..8bbeebc4ffb1c834697481ddbfecca09143802b4 100644 (file)
@@ -65,7 +65,7 @@ static int devs;
 
 static irqreturn_t hopper_irq_handler(int irq, void *dev_id)
 {
-       u32 stat = 0, mask = 0, lstat = 0, mstat = 0;
+       u32 stat = 0, mask = 0, lstat = 0;
        u32 rst_stat = 0, rst_mask = 0;
 
        struct mantis_pci *mantis;
@@ -80,7 +80,7 @@ static irqreturn_t hopper_irq_handler(int irq, void *dev_id)
 
        stat = mmread(MANTIS_INT_STAT);
        mask = mmread(MANTIS_INT_MASK);
-       mstat = lstat = stat & ~MANTIS_INT_RISCSTAT;
+       lstat = stat & ~MANTIS_INT_RISCSTAT;
        if (!(stat & mask))
                return IRQ_NONE;
 
index 05cbb9d95727f942194f392a6a76bba951726a84..e6c8368782e02b3ba9aa105d76301bd3dfb8d81c 100644 (file)
@@ -73,7 +73,7 @@ static char *label[10] = {
 
 static irqreturn_t mantis_irq_handler(int irq, void *dev_id)
 {
-       u32 stat = 0, mask = 0, lstat = 0, mstat = 0;
+       u32 stat = 0, mask = 0, lstat = 0;
        u32 rst_stat = 0, rst_mask = 0;
 
        struct mantis_pci *mantis;
@@ -88,7 +88,7 @@ static irqreturn_t mantis_irq_handler(int irq, void *dev_id)
 
        stat = mmread(MANTIS_INT_STAT);
        mask = mmread(MANTIS_INT_MASK);
-       mstat = lstat = stat & ~MANTIS_INT_RISCSTAT;
+       lstat = stat & ~MANTIS_INT_RISCSTAT;
        if (!(stat & mask))
                return IRQ_NONE;
 
This page took 0.027803 seconds and 5 git commands to generate.