From patchwork Thu May 16 13:37:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13666534 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3B39EC25B74 for ; Thu, 16 May 2024 21:36:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id AF3EA10E0FA; Thu, 16 May 2024 21:36:01 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=treblig.org header.i=@treblig.org header.b="Lx/VUXV+"; dkim-atps=neutral X-Greylist: delayed 2418 seconds by postgrey-1.36 at gabe; Thu, 16 May 2024 14:17:47 UTC Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3A89310ED3A for ; Thu, 16 May 2024 14:17:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=zqiddJDPtoHIu0oZ8yctrj4tnb0n+qoaibljudxr+uE=; b=Lx/VUXV+8oIP1NeN fvLk7t+T8WwUqKHypprgU1b/JapMZp7DNA2CQaTCEGdNq/qPQNtH+Fa7o/rQWOoP3rxI/ereBkKZK wOHVmVMLVsyFpQt1I+e1qb1/ZjKDCUsW9bQwMkgfQKOUH1WAun4PMNGqwU6SuNQslfQuLvOGvz3Lr UjuRqzt9kStW7NeEIxko78Rtv/sHPq2EiRVIOwSMOmvYzIvNF8Ma064eFA/WY8+ZKS+jEdlJe64X1 xbne+6VdXOogMSA2jbJXfSpmaNm78E7sYL6M3nqHQB8quXs6StDOvjoy0C7C0oMsNDc43+o1tXcpn aTDJZvJ7qUnSUmFfJA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s7bIS-001Eq6-34; Thu, 16 May 2024 13:37:25 +0000 From: linux@treblig.org To: liviu.dudau@arm.com, mripard@kernel.org, airlied@gmail.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] drm/komeda: remove unused struct 'gamma_curve_segment' Date: Thu, 16 May 2024 14:37:24 +0100 Message-ID: <20240516133724.251750-1-linux@treblig.org> X-Mailer: git-send-email 2.45.0 MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 16 May 2024 21:36:01 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: "Dr. David Alan Gilbert" 'gamma_curve_segment' looks like it has never been used. Remove it. Signed-off-by: Dr. David Alan Gilbert Reviewed-by: Dmitry Baryshkov Acked-by: Liviu Dudau --- drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c b/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c index d8e449e6ebda..50cb8f7ee6b2 100644 --- a/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c +++ b/drivers/gpu/drm/arm/display/komeda/komeda_color_mgmt.c @@ -72,11 +72,6 @@ struct gamma_curve_sector { u32 segment_width; }; -struct gamma_curve_segment { - u32 start; - u32 end; -}; - static struct gamma_curve_sector sector_tbl[] = { { 0, 4, 4 }, { 16, 4, 4 },