lkml.org 
[lkml]   [2015]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH v2] staging: comedi: drivers: addi_apci_3501: Removed variables that is never used
On Fri, Jan 30, 2015 at 10:29:44AM +0000, Ian Abbott wrote:
> >@@ -285,7 +284,7 @@ static irqreturn_t apci3501_interrupt(int irq, void *d)
> > ul_Command1 = inl(dev->iobase + APCI3501_TIMER_CTRL_REG);
> > ul_Command1 = ((ul_Command1 & 0xFFFFF9FDul) | 1 << 1);
> > outl(ul_Command1, dev->iobase + APCI3501_TIMER_CTRL_REG);
> >- i_temp = inl(dev->iobase + APCI3501_TIMER_STATUS_REG) & 0x1;
> >+ inl(dev->iobase + APCI3501_TIMER_STATUS_REG);
> >
> > return IRQ_HANDLED;
> > }
> >
>
> Reviewed-by: Ian Abbott <abbotti@mev.co.uk>

Ian, is the inl() really needed? Richard did the conservative thing,
but if we knew we could delete the inl() that would be nice.

regards,
dan carpenter



\
 
 \ /
  Last update: 2015-01-30 13:21    [W:3.402 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site