From: H Hartley Sweeten Date: Wed, 22 Oct 2014 22:36:46 +0000 (-0700) Subject: staging: comedi: comedi_fc.h: remove cfc_write_array_to_buffer() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f4add8df72e38a41886c35065c0a794f96fc057a;p=openwrt%2Fstaging%2Fblogic.git staging: comedi: comedi_fc.h: remove cfc_write_array_to_buffer() The 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 8ecb6bc9b60b..756be931c1a4 100644 --- a/drivers/staging/comedi/drivers/comedi_fc.h +++ b/drivers/staging/comedi/drivers/comedi_fc.h @@ -23,13 +23,6 @@ #include "../comedidev.h" -static inline unsigned int cfc_write_array_to_buffer(struct comedi_subdevice *s, - const void *data, - unsigned int num_bytes) -{ - return comedi_write_array_to_buffer(s, data, num_bytes); -} - /** * cfc_check_trigger_src() - trivially validate a comedi_cmd trigger source * @src: pointer to the trigger source to validate