Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2524289lqo; Mon, 20 May 2024 08:22:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgKgwkzzty5Mxf5CIasl7qvxfQJzQZhyzKmRQvGfFozt3+zm/annyfGAcU6otTheRgX6FPUy82be6d2kgacD7VMynl6aF4HMrFwUH1mg== X-Google-Smtp-Source: AGHT+IF3VN8Sf9PSdOq+zTMLm1yQKf9lMeF2ZAA4GkEtIeO2ICjaFAa2Lgy7gjbL95vudWBCR/1g X-Received: by 2002:a05:6a20:daa2:b0:1ad:9413:d5c3 with SMTP id adf61e73a8af0-1afde0af603mr30484411637.17.1716218553951; Mon, 20 May 2024 08:22:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716218553; cv=pass; d=google.com; s=arc-20160816; b=lmJZs5k5dheFX54XYYdQFjF2iUHXyBijr0Vc41SAESrQb1nyibNbxgelvutX5ddhTr 9h4FwrxMEP/WdolIoCQRKdq/0JhmKANGng8pt3c1HbAZYna1XIkSjRC7i/Mvb3lNpX09 jm8pRLI1JvelQ0lkeXSGpwrHT4xposQdM3Q/M3KZwld/8Hu3/f07qCLytQkSsFF5fcsJ nFVi/nxrmFVnXSEHZK6AbzF25cVKZY7gbhQ93HZAqFPVvOFyrzYOKTJCS0c5b2+6fFqV tdXMFPhlhgIeXgxW4V1stNeVttljpIMMVSFlrBimVBi9SB9M26vKYjeyXT12Z++Z8ET8 7pVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=kgzgmiWHPzKXkvJwu6QWNropShq9XNwARxOxRXoaeE4=; fh=pMBm/WXsOW/7TWVfNSJ5OQHgPBynFudjzVTPan8svTk=; b=MB/MGsskfIyncvRlSK9Qw8ktiQ0q6dIf8bUHf0WxJ3IZ/bN8nO4nxCNVmaSiZ/zpQ8 pWWgfxpM6yOzKg70+MnwzzvUPQK8ySCjlzBhUPMcr9Y2Z0DrpMnu1+1ePSmWseReqCRL gYjuX5NbnwyaY//XporwwZqPXuKy6scfefrA/FTZOi9hqFUAJtbPdHTEyMWWNecOHcZ+ YxNR069O7SOL6wF0LH5JWd+Sr8LFeUeKTBGbu/NePbnAGmaj+0OOHYBvUHyr9cLEXRy/ jC1hirJzZ9hidelOv8bWAMmaoC1KATglZHIj8hRumkote66bmBPMbdVhCjoQ964VvecI yyKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-183900-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-654a4608432si2384133a12.627.2024.05.20.08.22.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 08:22:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183900-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-183900-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183900-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A3F0B283103 for ; Mon, 20 May 2024 15:22:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6AD48137746; Mon, 20 May 2024 15:22:01 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0DED5136E39 for ; Mon, 20 May 2024 15:21:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716218520; cv=none; b=UBV6vFnQZ9gTvWa3mVgJlAJ2VIdcVOmx2DrMrvuuRLWrKwv9ZHVOvX2ksy3Rbm2lWKvLd7LklhN7/NhwrptssJZVgUbBxH54jtw552uKpH6ZtuPrgIUutJI/BZMT4JMyThpyNESxq6Ib3qTl7Nof/Cd67lyfz3KJ2nKeHCz3Dmw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716218520; c=relaxed/simple; bh=MPKHgID2qG+wjU1fHnZrCa7zZGQCaKUpi3gC3zmuUZs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=p/RTAotakxqhAulk8DQffdy3yCH1v0Js2/j8Jna6xG2e1p4FNghXCcFu2v5T1AOr6cpvLa5oHsuUwHktMH1ZJ+uZNuotAslGiaRScTqPgnbsdu5b7iqhUo2Ff0Rb0W81LSoTqxDVi9cOxWg03023+GbeRFuTq6rvDNTWLkDS4uw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 31AA0FEC for ; Mon, 20 May 2024 08:22:20 -0700 (PDT) Received: from e110455-lin.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F12843F762 for ; Mon, 20 May 2024 08:21:55 -0700 (PDT) Date: Mon, 20 May 2024 16:21:51 +0100 From: Liviu Dudau To: linux@treblig.org Cc: mripard@kernel.org, airlied@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/komeda: remove unused struct 'gamma_curve_segment' Message-ID: References: <20240516133724.251750-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240516133724.251750-1-linux@treblig.org> On Thu, May 16, 2024 at 02:37:24PM +0100, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" > > 'gamma_curve_segment' looks like it has never been used. > Remove it. > > Signed-off-by: Dr. David Alan Gilbert Acked-by: Liviu Dudau Thanks for the clean up! Best regards, Liviu > --- > 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 }, > -- > 2.45.0 > -- ==================== | I would like to | | fix the world, | | but they're not | | giving me the | \ source code! / --------------- ¯\_(ツ)_/¯