diff options
author | Hans Verkuil | 2011-08-25 15:40:07 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2011-09-06 19:45:20 +0200 |
commit | 7ed67f15f4d659b1fd2ad82fdea4746f4a1cdf94 (patch) | |
tree | 6a62d19ba0d24bb945c692086045a9b48b07d552 /drivers/media/dvb/mantis | |
parent | [media] az6027: fix compiler warnings (diff) | |
download | kernel-qcow2-linux-7ed67f15f4d659b1fd2ad82fdea4746f4a1cdf94.tar.gz kernel-qcow2-linux-7ed67f15f4d659b1fd2ad82fdea4746f4a1cdf94.tar.xz kernel-qcow2-linux-7ed67f15f4d659b1fd2ad82fdea4746f4a1cdf94.zip |
[media] mantis: fix compiler warnings
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/mantis')
-rw-r--r-- | drivers/media/dvb/mantis/hopper_cards.c | 4 | ||||
-rw-r--r-- | drivers/media/dvb/mantis/mantis_cards.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/mantis/hopper_cards.c b/drivers/media/dvb/mantis/hopper_cards.c index 1402062f2c89..8bbeebc4ffb1 100644 --- a/drivers/media/dvb/mantis/hopper_cards.c +++ b/drivers/media/dvb/mantis/hopper_cards.c @@ -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; diff --git a/drivers/media/dvb/mantis/mantis_cards.c b/drivers/media/dvb/mantis/mantis_cards.c index 05cbb9d95727..e6c8368782e0 100644 --- a/drivers/media/dvb/mantis/mantis_cards.c +++ b/drivers/media/dvb/mantis/mantis_cards.c @@ -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; |