From: H Hartley Sweeten Date: Wed, 22 Oct 2014 22:36:25 +0000 (-0700) Subject: staging: comedi: comedi_fc.h: remove cfc_write_long_to_buffer() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce8bfa275a3c9fabd3bd670ea0da0b2d1d4ba8d2;p=openwrt%2Fstaging%2Fblogic.git staging: comedi: comedi_fc.h: remove cfc_write_long_to_buffer() The inline function is not 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 fed0a54e5af6..de9331cda600 100644 --- a/drivers/staging/comedi/drivers/comedi_fc.h +++ b/drivers/staging/comedi/drivers/comedi_fc.h @@ -36,12 +36,6 @@ static inline unsigned int cfc_write_to_buffer(struct comedi_subdevice *s, return comedi_write_array_to_buffer(s, &data, sizeof(data)); }; -static inline unsigned int cfc_write_long_to_buffer(struct comedi_subdevice *s, - unsigned int 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