Commit b14ec4bd authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f5cc425a
...@@ -134,7 +134,6 @@ struct pcl816_private { ...@@ -134,7 +134,6 @@ struct pcl816_private {
int irq_blocked; /* 1=IRQ now uses any subdev */ 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 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 */ 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 */ 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[16]; /* MUX setting for actual AI operations */
unsigned int ai_act_chanlist_len; /* how long is actual MUX list */ 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, ...@@ -660,7 +659,6 @@ static int pcl816_ai_cancel(struct comedi_device *dev,
devpriv->irq_blocked = 0; devpriv->irq_blocked = 0;
devpriv->irq_was_now_closed = devpriv->int816_mode; devpriv->irq_was_now_closed = devpriv->int816_mode;
devpriv->int816_mode = 0; devpriv->int816_mode = 0;
devpriv->last_int_sub = s;
/* s->busy = 0; */ /* s->busy = 0; */
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment