Skip to content

Commit ce8bfa2

Browse files
bigguinessgregkh
authored andcommitted
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 <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 5438da8 commit ce8bfa2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/staging/comedi/drivers/comedi_fc.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ static inline unsigned int cfc_write_to_buffer(struct comedi_subdevice *s,
3636
return comedi_write_array_to_buffer(s, &data, sizeof(data));
3737
};
3838

39-
static inline unsigned int cfc_write_long_to_buffer(struct comedi_subdevice *s,
40-
unsigned int data)
41-
{
42-
return comedi_write_array_to_buffer(s, &data, sizeof(data));
43-
};
44-
4539
/**
4640
* cfc_check_trigger_src() - trivially validate a comedi_cmd trigger source
4741
* @src: pointer to the trigger source to validate

0 commit comments

Comments
 (0)