diff options
author | 2018-07-09 10:24:47 -0500 | |
---|---|---|
committer | 2018-07-10 14:18:08 -0500 | |
commit | 31e1c59796c8abeba8bbb961bc329a6aa5f5847c (patch) | |
tree | ef733f38e65bd343f7504c0982e9fbb2e8bf25af /drivers/gpu/drm/amd/amdgpu | |
parent | drm/amd/pp: Send khz clock values to DC for smu7/8 (diff) | |
download | linux-dev-31e1c59796c8abeba8bbb961bc329a6aa5f5847c.tar.xz linux-dev-31e1c59796c8abeba8bbb961bc329a6aa5f5847c.zip |
drm/ttm: use swap macro in ttm_bo_handle_move_mem
Make use of the swap macro and remove unnecessary variable *tmp_mem*.
This makes the code easier to read and maintain. Also, reduces the
stack usage.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions