aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2014-07-14 12:06:56 -0700
committerGreg Kroah-Hartman <[email protected]>2014-07-16 13:22:49 -0700
commit98e9f679dd6ecb73084831bf08f5fadb62b0a079 (patch)
tree265b0ad6c96d0cc51dee789b6a3dd4f75202ba89 /tools/perf/scripts/python/netdev-times.py
parent11d892cc8c71f540fc50552a250a2975ac968611 (diff)
staging: comedi: ni_65xx: remove the need for the subdevice private data
There is only one member in the subdevice private data, an unsigned value that is the 'base_port' that the subdevice uses to access the port registers. Just cast the appropriate value into s->private instead of allocating the private data for each subdevice. The casts are a bit of a nusance but it removes the unnecessary allocations. Signed-off-by: H Hartley Sweeten <[email protected]> Reviewed-by: Ian Abbott <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions