Isabella Basso
9be9bf4e3a
drm/amdgpu: remove unnecessary variables
...
This fixes the warnings below, and also drops the display_count
variable, as it's unused.
In function 'svm_range_map_to_gpu':
warning: variable 'bo_va' set but not used [-Wunused-but-set-variable]
1172 | struct amdgpu_bo_va bo_va;
| ^~~~~
...
In function 'dcn201_update_clocks':
warning: variable 'enter_display_off' set but not used [-Wunused-but-set-variable]
132 | bool enter_display_off = false;
| ^~~~~~~~~~~~~~~~~
Changes since v1:
- As suggested by Rodrigo Siqueira:
1. Drop display_count variable.
- As suggested by Felix Kuehling:
1. Remove block surrounding amdgpu_xgmi_same_hive.
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com >
Signed-off-by: Isabella Basso <isabbasso@riseup.net >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
2021-12-13 16:33:17 -05:00
..
2021-11-10 11:52:40 -08:00
2021-11-04 08:21:47 -07:00
2021-11-12 08:05:47 +09:00
2021-10-22 00:13:16 +02:00
2021-11-11 13:09:33 +01:00
2021-11-06 14:36:12 -07:00
2021-11-09 11:24:08 -08:00
2021-11-04 09:09:37 -07:00
2021-11-13 09:11:33 -08:00
2021-11-01 10:09:14 -07:00
2021-11-04 08:21:47 -07:00
2021-11-14 11:11:51 -08:00
2021-11-02 11:24:14 -07:00
2021-10-30 10:54:47 +02:00
2021-11-04 19:48:47 +01:00
2021-11-03 17:00:52 -07:00
2021-11-06 14:36:12 -07:00
2021-11-08 11:49:48 -08:00
2021-11-10 14:06:51 +01:00
2021-11-10 11:47:55 -08:00
2021-11-12 12:11:07 -08:00
2021-11-01 15:02:49 -07:00
2021-10-27 14:13:39 +09:00
2021-11-05 08:42:02 -07:00
2021-11-10 16:15:54 -08:00
2021-10-22 09:54:33 +10:30
2021-11-08 11:55:21 -08:00
2021-12-13 16:33:17 -05:00
2021-11-05 08:31:51 -07:00
2021-11-04 13:56:55 -07:00
2021-11-02 10:56:49 -07:00
2021-11-06 14:08:17 -07:00
2021-10-27 11:46:01 -06:00
2021-11-10 11:52:40 -08:00
2021-11-10 11:36:43 -08:00
2021-11-05 08:42:02 -07:00
2021-11-12 11:53:16 -08:00
2021-11-06 14:36:12 -07:00
2021-11-12 16:09:51 +00:00
2021-11-06 14:08:17 -07:00
2021-10-29 23:03:09 -05:00
2021-11-09 11:24:08 -08:00
2021-11-10 11:52:40 -08:00
2021-10-21 21:34:21 +02:00
2021-11-06 14:36:12 -07:00
2021-11-10 11:36:43 -08:00
2021-11-10 11:52:40 -08:00
2021-11-06 14:08:17 -07:00
2021-10-26 19:12:01 +02:00
2021-11-09 11:24:08 -08:00
2021-10-21 20:02:42 +01:00
2021-11-11 09:49:36 -08:00
2021-11-07 19:37:04 +00:00
2021-11-10 10:56:02 -08:00
2021-11-09 11:20:07 -08:00
2021-11-14 11:11:51 -08:00
2021-11-14 10:38:27 -08:00
2021-11-02 06:20:58 -07:00
2021-11-02 15:58:39 -07:00
2021-11-04 08:21:47 -07:00
2021-11-05 08:24:17 -07:00
2021-11-10 11:36:43 -08:00
2021-11-02 16:48:47 +01:00
2021-10-28 14:42:20 +01:00
2021-11-05 11:57:13 +01:00
2021-11-06 13:30:33 -07:00
2021-11-08 12:07:52 -08:00
2021-11-03 17:00:52 -07:00
2021-11-10 09:07:26 -08:00
2021-11-12 11:44:31 -08:00
2021-11-08 14:17:49 +01:00
2021-11-12 12:25:50 -08:00
2021-11-10 16:15:54 -08:00
2021-11-01 19:09:04 -07:00
2021-11-10 16:15:54 -08:00
2021-11-12 12:25:50 -08:00
2021-11-04 08:21:47 -07:00
2021-11-12 10:56:25 -08:00
2021-10-25 13:17:29 +02:00
2021-11-04 09:09:37 -07:00
2021-10-28 11:22:23 +00:00
2021-11-11 09:40:15 -08:00
2021-11-03 15:00:39 -07:00
2021-11-01 05:26:49 -04:00
2021-11-12 12:11:07 -08:00
2021-11-10 15:32:38 +01:00
2021-11-10 09:41:22 -08:00
2021-11-10 11:14:21 -08:00