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

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

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



The 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 9caba329
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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