aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIan Abbott <[email protected]>2013-02-07 16:03:00 +0000
committerGreg Kroah-Hartman <[email protected]>2013-02-07 17:17:16 -0800
commitda7185462e86b4832342d7e02e52b889126a0fcf (patch)
tree45b363619499bf5fa6d9533004622d67ce8b0bb9 /tools/perf/util/scripting-engines/trace-event-python.c
parentf6fcf7f79b971cad61d9f010e750d74df9309517 (diff)
staging: comedi: don't return minor from comedi_alloc_subdevice_minor()
`comedi_alloc_subdevice_minor()` currently returns the allocated minor device number on success. This is not really of any interest to the caller (in fact the return value is not even checked), so just return 0 on success. If the caller really needs to know the allocated minor device number it can look in `s->minor`. Signed-off-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions