From eabae5a6812ad1ac2c6bf8f3b86f7d734346d147 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Wed, 19 Apr 2023 12:39:56 +0200 Subject: soc/qualcomm/sc7180: Fix set but unused variables This fixes clang warnings. Change-Id: I407da6ec05ef646f61bd81e314fee1b5ea659192 Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/74557 Reviewed-by: Julius Werner Tested-by: build bot (Jenkins) Reviewed-by: Elyes Haouas --- src/soc/qualcomm/sc7180/display/disp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/soc/qualcomm/sc7180/display/disp.c') diff --git a/src/soc/qualcomm/sc7180/display/disp.c b/src/soc/qualcomm/sc7180/display/disp.c index 4ee6bec4ac..5083165e73 100644 --- a/src/soc/qualcomm/sc7180/display/disp.c +++ b/src/soc/qualcomm/sc7180/display/disp.c @@ -7,9 +7,7 @@ void mdss_intf_tg_setup(struct edid *edid) { uint32_t hsync_period, vsync_period, hsync_start_x, hsync_end_x; uint32_t display_hctl, hsync_ctl, display_vstart, display_vend; - uint32_t mdss_version; - mdss_version = read32(&mdss_hw->hw_version); hsync_period = edid->mode.ha + edid->mode.hbl; vsync_period = edid->mode.va + edid->mode.vbl; hsync_start_x = edid->mode.hbl - edid->mode.hso; -- cgit v1.2.3