From: H Hartley Sweeten Date: Wed, 22 Oct 2014 22:36:37 +0000 (-0700) Subject: staging: comedi: comedi_fc.h: remove cfc_write_to_buffer() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=be591d5c42cdc25cfe8a586082a7e0e3ef0223b1;p=openwrt%2Fstaging%2Fblogic.git staging: comedi: comedi_fc.h: remove cfc_write_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 de9331cda600..8ecb6bc9b60b 100644 --- a/drivers/staging/comedi/drivers/comedi_fc.h +++ b/drivers/staging/comedi/drivers/comedi_fc.h @@ -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