mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
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: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
576694d83e
commit
ffaeab349d
@ -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,
|
||||
struct comedi_subdevice *s,
|
||||
struct comedi_cmd *cmd)
|
||||
static void me4000_ai_write_chanlist(struct comedi_device *dev,
|
||||
struct comedi_subdevice *s,
|
||||
struct comedi_cmd *cmd)
|
||||
{
|
||||
int i;
|
||||
|
||||
@ -657,8 +657,6 @@ static int me4000_ai_write_chanlist(struct comedi_device *dev,
|
||||
|
||||
outl(entry, dev->iobase + ME4000_AI_CHANNEL_LIST_REG);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int me4000_ai_do_cmd(struct comedi_device *dev,
|
||||
|
Loading…
Reference in New Issue
Block a user