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

staging: comedi: me4000: return void from me4000_ai_write_chanlist()

This function always returns 0 and the return value is never checked.
Just return void.
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 576694d8
...@@ -635,9 +635,9 @@ static void me4000_ai_round_cmd_args(struct comedi_device *dev, ...@@ -635,9 +635,9 @@ static void me4000_ai_round_cmd_args(struct comedi_device *dev,
} }
} }
static int me4000_ai_write_chanlist(struct comedi_device *dev, static void me4000_ai_write_chanlist(struct comedi_device *dev,
struct comedi_subdevice *s, struct comedi_subdevice *s,
struct comedi_cmd *cmd) struct comedi_cmd *cmd)
{ {
int i; int i;
...@@ -657,8 +657,6 @@ static int me4000_ai_write_chanlist(struct comedi_device *dev, ...@@ -657,8 +657,6 @@ static int me4000_ai_write_chanlist(struct comedi_device *dev,
outl(entry, dev->iobase + ME4000_AI_CHANNEL_LIST_REG); outl(entry, dev->iobase + ME4000_AI_CHANNEL_LIST_REG);
} }
return 0;
} }
static int me4000_ai_do_cmd(struct comedi_device *dev, static int me4000_ai_do_cmd(struct comedi_device *dev,
......
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