diff options
author | 2016-05-02 10:11:41 -0700 | |
---|---|---|
committer | 2016-05-03 14:11:15 -0700 | |
commit | 48a73aedd7e47140bec5ccab17d4aa8604f76000 (patch) | |
tree | 33803187f8f4de9199a3101f9046f886263dba15 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: comedi: mite: rename mite member 'mite_io_addr' (diff) | |
download | wireguard-linux-48a73aedd7e47140bec5ccab17d4aa8604f76000.tar.xz wireguard-linux-48a73aedd7e47140bec5ccab17d4aa8604f76000.zip |
staging: comedi: mite: remove mite member 'channel_allocated'
An allocated mite_channel will have its 'ring' member initialized
to point to the mite_ring that will be used for DMA. A non-allocated
mite_channel will have a 'ring' member set to NULL, either by a
channel release or due to the initial kzalloc of the 'mite' struct.
Refactor the code to use the mite_chan->ring to detect in a channel
is allocated and remove the unnecessary member.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions