]> git.baikalelectronics.ru Git - kernel.git/commit
via-cuda: Remove redundant temporary variable
authorFinn Thain <fthain@telegraphics.com.au>
Sun, 1 Jan 2017 00:56:26 +0000 (19:56 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Feb 2017 05:56:17 +0000 (16:56 +1100)
commitb9a1c622398ccc7bc250c18d3269ff3a9777ecca
tree5c2aef0c19b278c9a5ee79889fdca0eb3816fddc
parent7fa4a1f6d4c95eecf531a581479f56cd0598494d
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>
drivers/macintosh/via-cuda.c