From: H Hartley Sweeten Date: Wed, 22 Oct 2014 21:36:39 +0000 (-0700) Subject: staging: comedi: comedi_fc.h: remove cfc_read_array_from_buffer() X-Git-Tag: firefly_0821_release~176^2~2665^2~791 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=65ad7c89aa4d376419a134ffe69113db0333d25f;p=firefly-linux-kernel-4.4.55.git staging: comedi: comedi_fc.h: remove cfc_read_array_from_buffer() This inline function is no longer used. Remove it. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/comedi_fc.h b/drivers/staging/comedi/drivers/comedi_fc.h index 0f4b360cf9ec..fed0a54e5af6 100644 --- a/drivers/staging/comedi/drivers/comedi_fc.h +++ b/drivers/staging/comedi/drivers/comedi_fc.h @@ -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