diff options
author | 2014-02-28 14:31:58 -0600 | |
---|---|---|
committer | 2014-02-28 16:13:09 -0800 | |
commit | e500d526f968f184462912334b74b80dc905fca0 (patch) | |
tree | fc66037ff090415b02c5074edaa22de002bc2384 /tools/perf/scripts/python | |
parent | usb: wusbcore: prevent urb dequeue and giveback race (diff) | |
download | wireguard-linux-e500d526f968f184462912334b74b80dc905fca0.tar.xz wireguard-linux-e500d526f968f184462912334b74b80dc905fca0.zip |
usb: wusbcore: add a convenience function for completing a transfer segment
This patch adds a convenience function for the commonly performed task
of marking a transfer segment as done. It combines the 3 steps of
setting the segment status, incrementing the segs_done field of the
transfer and checking if the completed segment results in the transfer
also being done.
Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions