aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorSarah Sharp <[email protected]>2011-02-24 02:13:43 +0000
committerSarah Sharp <[email protected]>2011-03-14 01:23:56 +0000
commitba0a4d9aaae789a6a632968b27c21d49b858b13a (patch)
tree22e76438fe70720fa89d683586009cc028bceb0e /net/unix/af_unix.c
parentxhci: Fix cycle bit calculation during stall handling. (diff)
downloadkernel-ba0a4d9aaae789a6a632968b27c21d49b858b13a.tar.gz
kernel-ba0a4d9aaae789a6a632968b27c21d49b858b13a.zip
xhci: Clean up cycle bit math used during stalls.
Use XOR to invert the cycle bit, instead of a more complicated calculation. Eliminate a check for the link TRB type in find_trb_seg(). We know that there will always be a link TRB at the end of a segment, so xhci_segment->trbs[TRBS_PER_SEGMENT - 1] will always have a link TRB type. Signed-off-by: Sarah Sharp <[email protected]> Tested-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions