You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Staging: comedi: kcomedilib: comedi_do_insn is now static
No one else calls this function, so mark it static. Now we can strip out the unneeded functionality in here as well. Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -33,7 +33,4 @@ int comedi_dio_bitfield(void *dev, unsigned int subdev, unsigned int mask,
|
||||
int comedi_find_subdevice_by_type(void *dev, int type, unsigned int subd);
|
||||
int comedi_get_n_channels(void *dev, unsigned int subdevice);
|
||||
|
||||
/* internal to kcomedilb */
|
||||
int comedi_do_insn(void *dev, struct comedi_insn *insn);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -84,7 +84,7 @@ EXPORT_SYMBOL(comedi_close);
|
||||
* COMEDI_INSN
|
||||
* perform an instruction
|
||||
*/
|
||||
int comedi_do_insn(void *d, struct comedi_insn *insn)
|
||||
static int comedi_do_insn(void *d, struct comedi_insn *insn)
|
||||
{
|
||||
struct comedi_device *dev = (struct comedi_device *)d;
|
||||
struct comedi_subdevice *s;
|
||||
|
||||
Reference in New Issue
Block a user