summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-10-22 22:36:37 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-29 08:03:11 (GMT)
commitbe591d5c42cdc25cfe8a586082a7e0e3ef0223b1 (patch)
tree93bd6228652cd0a93366fec7c330687d17161e4e
parent9caba3296103f41f90f78aa482f0dfaf89a3f260 (diff)
downloadlinux-be591d5c42cdc25cfe8a586082a7e0e3ef0223b1.tar.xz
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 <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/comedi/drivers/comedi_fc.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/comedi/drivers/comedi_fc.h b/drivers/staging/comedi/drivers/comedi_fc.h
index de9331c..8ecb6bc 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