Gustavo A. R. Silva 31e1c59796 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>
2018-07-10 14:18:08 -05:00
..
2018-07-04 10:27:12 +10:00
2018-07-04 10:27:12 +10:00
2018-06-22 12:58:08 +10:00
2018-06-28 13:29:07 +10:00
2018-07-06 10:01:56 +10:00
2018-07-02 18:45:56 +03:00
2018-07-06 06:29:24 +10:00
2018-06-07 14:06:31 -07:00
2018-06-22 12:58:08 +10:00
2018-07-04 10:27:12 +10:00
2018-06-28 13:29:07 +10:00
2018-06-20 15:59:34 +02:00
2018-06-22 12:58:08 +10:00
2018-06-06 08:16:33 -07:00
2018-06-20 16:58:31 +10:00
2018-06-28 13:29:07 +10:00
2018-06-22 12:58:08 +10:00
2018-07-02 18:45:55 +03:00
2018-06-15 23:31:07 +03:00
2018-06-20 15:27:49 +01:00