staging: comedi: comedi_fc.h: remove cfc_write_to_buffer()
The inline function is no longer 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>
This commit is contained in:
parent
9caba32961
commit
be591d5c42
@ -30,12 +30,6 @@ static inline unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *s,
|
||||
return comedi_write_array_to_buffer(s, data, num_bytes);
|
||||
}
|
||||
|
||||
static inline unsigned int cfc_write_to_buffer(struct comedi_subdevice *s,
|
||||
unsigned short data)
|
||||
{
|
||||
return comedi_write_array_to_buffer(s, &data, sizeof(data));
|
||||
};
|
||||
|
||||
/**
|
||||
* cfc_check_trigger_src() - trivially validate a comedi_cmd trigger source
|
||||
* @src: pointer to the trigger source to validate
|
||||
|
Loading…
x
Reference in New Issue
Block a user