Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 65ad7c89 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: comedi_fc.h: remove cfc_read_array_from_buffer()



This inline function is no longer 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 ecb11d8c
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -42,13 +42,6 @@ static inline unsigned int cfc_write_long_to_buffer(struct comedi_subdevice *s,
	return comedi_write_array_to_buffer(s, &data, sizeof(data));
};

static inline unsigned int
cfc_read_array_from_buffer(struct comedi_subdevice *s, void *data,
			   unsigned int num_bytes)
{
	return comedi_read_array_from_buffer(s, data, num_bytes);
}

/**
 * cfc_check_trigger_src() - trivially validate a comedi_cmd trigger source
 * @src: pointer to the trigger source to validate