commit | 06d7e99408acd2faa099d8af1a57cb1f6624062a | [log] [tgz] |
---|---|---|
author | Finn Thain <fthain@telegraphics.com.au> | Sat Dec 31 19:56:26 2016 -0500 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Tue Feb 07 16:56:17 2017 +1100 |
tree | 5c2aef0c19b278c9a5ee79889fdca0eb3816fddc | |
parent | 523717d1496c794e8380d0e3de5ca6a8c1887dab [diff] |
via-cuda: Remove redundant temporary variable There is no possibility that current_req can change during execution of cuda_start(). This can be confirmed by inspection: cuda_lock is always held whenever cuda_start() is called or current_req is modified. Tested-by: Stan Johnson <userm57@yahoo.com> Signed-off-by: Finn Thain <fthain@telegraphics.com.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>