diff options
author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-02-17 14:27:31 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-18 11:55:32 -0800 |
commit | b14ec4bd3f576be2bb7dd4c69764a422d782e06d (patch) | |
tree | c4ac530d1aba695abb076088e52acb9a03604bac /drivers | |
parent | f5cc425afed63820734f130fc245ba7bb11c11ac (diff) |
staging: comedi: pcl816: remove 'last_int_sub' from private data
THis member of the private data is set but never used. Remove it.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/comedi/drivers/pcl816.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/comedi/drivers/pcl816.c b/drivers/staging/comedi/drivers/pcl816.c index 29d462513c62..64355eae75e8 100644 --- a/drivers/staging/comedi/drivers/pcl816.c +++ b/drivers/staging/comedi/drivers/pcl816.c @@ -134,7 +134,6 @@ struct pcl816_private { int irq_blocked; /* 1=IRQ now uses any subdev */ int irq_was_now_closed; /* when IRQ finish, there's stored int816_mode for last interrupt */ int int816_mode; /* who now uses IRQ - 1=AI1 int, 2=AI1 dma, 3=AI3 int, 4AI3 dma */ - struct comedi_subdevice *last_int_sub; /* ptr to subdevice which now finish */ int ai_act_scan; /* how many scans we finished */ unsigned int ai_act_chanlist[16]; /* MUX setting for actual AI operations */ unsigned int ai_act_chanlist_len; /* how long is actual MUX list */ @@ -660,7 +659,6 @@ static int pcl816_ai_cancel(struct comedi_device *dev, devpriv->irq_blocked = 0; devpriv->irq_was_now_closed = devpriv->int816_mode; devpriv->int816_mode = 0; - devpriv->last_int_sub = s; /* s->busy = 0; */ break; } |