Skip to content

Commit

Permalink
[media] mantis: fix compiler warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Sep 6, 2011
1 parent db3ca1d commit 7ed67f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions drivers/media/dvb/mantis/hopper_cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions drivers/media/dvb/mantis/mantis_cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down

0 comments on commit 7ed67f1

Please sign in to comment.