aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2013-11-08 15:03:22 +0000
committerGreg Kroah-Hartman <[email protected]>2013-11-11 16:16:43 -0800
commitc265be0121154709a0b16f13c87ff58245ba81bc (patch)
tree5d55f2f39a06b87a7648919f5a6329516681c549 /tools/perf/scripts/python
parent5fb0a2fa24441a71275e1c42eac1590938a1ec9f (diff)
staging: comedi: remove unused command callback support
The 'kcomedilib' module used to provide functions to allow asynchronous comedi commands to be set up from another kernel module, but now commands can only be set up by ioctls from user space via the core comedi module. Since support for commands initiated from kernel space has been dropped, the `cb_func` and `cb_arg` members of `struct comedi_async` are never set (although the `cb_mask` member is still used to mask comedi events). The `SRF_USER` bit of the comedi subdevice runflags is no longer needed to distinguish commands from user and kernel space since they only come from user space. Don't bother setting or testing the `SRF_USER` flag, and get rid of it, along with the `cb_func` and `cb_arg` members. Signed-off-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions