[11/11] drm/amd/dal/dc: fix warning in calculate_bandwidth

Submitted by Alex Deucher on Nov. 22, 2016, 4:57 p.m.

Details

Message ID 1479833848-14275-11-git-send-email-alexander.deucher@amd.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Alex Deucher Nov. 22, 2016, 4:57 p.m.
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c | 2 --
 1 file changed, 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c b/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c
index 0dbe47d..0b2bb39 100644
--- a/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c
+++ b/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c
@@ -39,7 +39,6 @@  static void calculate_bandwidth(
 
 {
 	const int32_t pixels_per_chunk = 512;
-	const int32_t max_chunks_non_fbc_mode = 16;
 	const int32_t high = 2;
 	const int32_t mid = 1;
 	const int32_t low = 0;
@@ -51,7 +50,6 @@  static void calculate_bandwidth(
 	const uint32_t s_mid5 = 5;
 	const uint32_t s_mid6 = 6;
 	const uint32_t s_high = 7;
-	const uint32_t vertical_front_porch = 450; /*us*/
 	const uint32_t bus_efficiency = 1;
 	const uint32_t dmif_chunk_buff_margin = 1;