mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-31 04:01:07 -05:00
staging: comedi: comedi_fc.h: remove cfc_write_long_to_buffer()
The inline function is not 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:
committed by
Greg Kroah-Hartman
parent
5438da85fc
commit
ce8bfa275a
@@ -36,12 +36,6 @@ static inline unsigned int cfc_write_to_buffer(struct comedi_subdevice *s,
|
||||
return comedi_write_array_to_buffer(s, &data, sizeof(data));
|
||||
};
|
||||
|
||||
static inline unsigned int cfc_write_long_to_buffer(struct comedi_subdevice *s,
|
||||
unsigned int 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
|
||||
|
||||
Reference in New Issue
Block a user