Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1254095lqt; Fri, 7 Jun 2024 12:25:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX5/odRWbIAuIp6t9kxU+MS8frzYZD+a+Y8gu/y1BcnvMCgxhjaL3h0tENhIxt2Nb+WU2yg4mj43W2g5j2zhh4qpp+upBW8sqxNM+WHgA== X-Google-Smtp-Source: AGHT+IG/5iYWPt9z2ZxVZSWMEXLLcx+oUEoSoJv3cOJNJVOQb0CjcuWgKwcBzdiyjrHxcBJtWjIu X-Received: by 2002:a05:6a00:23c4:b0:704:19f5:3619 with SMTP id d2e1a72fcca58-70419f53ca5mr2018569b3a.20.1717788235953; Fri, 07 Jun 2024 12:23:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717788235; cv=pass; d=google.com; s=arc-20160816; b=a2r4Hh2YgXmxGVSsemYUFcq+oUGE1OrND3h3zyycqpn3Q+BuGBcCZxvOEOwY06nxdw WMbIRl1p/AAQvMk6lLVy2wNMO2Y/LlNVvFplHCmOBLbgaojEZR+NAKIEN1UPVskF7Ywv rKGI9EuW1miWbiQ/jR5T3Fy0ePyN4YK7QXk7E2z1Ph0oEDmeR0kp5RSkFpcW7UeE5M93 rl8hJHVYZqsxsmIe9I6AX62M3txDE2dnZ69a4lyJkZQ9TR6X/hNteFDwPyR6aEYi7xSs eoyGLp/btXMsAxFYjPAHZpX11fs+woiNxgwCqR8OTGzbMvUstskWAIzVxDsrcs+d4eps Ovww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=+xuBGiQ2sjUbimvHbmzyMB7mwid/p1KJ/CcA72O4AT8=; fh=EfE3F1fnZh3HzS2g4uKJ2Bagrq3hnaF0qr6+pPJ4Irk=; b=xELTh5pxaJAedHK3TvhlS5A44HhkuWAramvNz1kUbQsPZicJlcSI0PBcKZW4yxrwE7 JyfEugeQruYDDwaSl2hiE5kIbrmsyguYxAiygmgatHZu4CCf3q0IbNGpaA0JvnX5lvaZ mf8X0x/29xedOAE429QEnXTT7i6n48gtS2WduypA/n9abGhqn+AGHNuEokPZFGDhZRGA wka7w+jfoue8OQKgWTvkSyKxTimW4UzzJ5hyEKTbBIFwdCMHmFvUfYj+qLAaRnCBUhbI yHVp6rchHEYg6HuEeFkoxkwjwUiNRWnutssTPW+bA48REzGJe9oi87fTCZfAWcg2WR+c LhTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mbff5fk3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-206660-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206660-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-7041eaf820fsi498286b3a.111.2024.06.07.12.23.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 12:23:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206660-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mbff5fk3; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-206660-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206660-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 0E1C128A232 for ; Fri, 7 Jun 2024 19:23:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2CB4B14AD35; Fri, 7 Jun 2024 19:23:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mbff5fk3" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 534DFD2E5; Fri, 7 Jun 2024 19:23:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717788227; cv=none; b=sE6Xs1nNtgVc4iV7ST4mOuVyvFHD3lpLVVP6QJHAbb3NfruMK7nRbCAhArRkTHgoy6pnDyOGB0916wpNmGEWBr/uCPCeJtx29fYdWhW3Uhvet28oJPtf1rYruySgdrAbws1kjxv+JkKDME5xhChEPJUKi8j1ljN8YKhvlhtvey4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717788227; c=relaxed/simple; bh=IRIu25eul++r8OdWAyggt5URxrtTicHpzECu6XHEj54=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=mAzluP8F2tYSh+4QrqHHqgwB/8GLSlwtmT6RtmZLf5EkCp4PyiuBQmCkZudi6jTyGem6nDI+35nFVsIQ/flnHh/ALwXwM9TwYvkNYZz5tAS9wsMbqZGKF9G94bvlOzcLlZdvIscLUeAbBygsgGyrw/rSwEcPepbg2NTXKbBCxWQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mbff5fk3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFC1BC32781; Fri, 7 Jun 2024 19:23:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717788226; bh=IRIu25eul++r8OdWAyggt5URxrtTicHpzECu6XHEj54=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mbff5fk3giQb+LSX22q/5wLdn3Pnn4oQ+5YZLnLmTpXed1gWI1KHZZ5cWDztWeaVu pktK5LmrGF6nMiL8AhUsyclipV//lbxdP5mYpx//VwkXXYPHITOGpYpM3Yrd2TQJlo TM/Zsz6rLlxXJkxHcwtjhKn9sxtdDwEFOlai+9QMNBdaS2q0ky93VDJ8tI9aqFTn7H OUMBoO+ZksJGtwVhPdwSE9q6XXp9CkaQYeb3dOG7pruNjjnlQPqLZh7seQ6YrCKT3H UmzVI6f9jJSLXw6u2fPv1YOB3hhPF92Q+CSgvpV1caXH9gclhjCpREZcJQuffRLL5s IzToQbK/RU7Cw== Received: by mail-oo1-f50.google.com with SMTP id 006d021491bc7-5b3364995b4so396289eaf.0; Fri, 07 Jun 2024 12:23:46 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWC4GfTsrf2+IiIT7jG255sgN5kv01kmYQ77DOUtjsJglz1ZkVKgOsAqp+tnndGa+/E9uOmSMPsowd4adlQQ02ZZXc8eal4jKVcdL4AbstxRVXMWUcGJqWYssFu0rDLCV2lNjXzL90= X-Gm-Message-State: AOJu0YygH+C2+iXJZV22BHb3Doxe9+43ZZ5cYgSGRaOy/FmVJoW7hig2 AKVzD7PDoLG3aRkB1L4d6GsjWnOvqCb5jIpDq5xP4KkAPSuY6QdviB8BzW4jChQ9nea/pf2ccfE PrOgBZB9rZi1ogF0+YjaM6eT8nIo= X-Received: by 2002:a4a:ac08:0:b0:5aa:3e4f:f01e with SMTP id 006d021491bc7-5baae73b688mr3334682eaf.1.1717788226269; Fri, 07 Jun 2024 12:23:46 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240529175309.83294-1-linux@treblig.org> In-Reply-To: From: "Rafael J. Wysocki" Date: Fri, 7 Jun 2024 21:23:35 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] thermal: int3403: remove unused struct 'int3403_performance_state' To: "Zhang, Rui" , "linux@treblig.org" Cc: "rafael@kernel.org" , "linux-pm@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 30, 2024 at 9:21=E2=80=AFAM Zhang, Rui wr= ote: > > On Wed, 2024-05-29 at 18:53 +0100, linux@treblig.org wrote: > > From: "Dr. David Alan Gilbert" > > > > 'int3403_performance_state' has never been used since the original > > commit 4384b8fe162d ("Thermal: introduce int3403 thermal driver"). > > > > Remove it. > > > > Signed-off-by: Dr. David Alan Gilbert > > Acked-by: Zhang Rui Applied as 6.11 material, thanks! > > --- > > .../thermal/intel/int340x_thermal/int3403_thermal.c | 11 --------- > > -- > > 1 file changed, 11 deletions(-) > > > > diff --git a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c > > b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c > > index 86901f9f54d8..c094a422ded3 100644 > > --- a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c > > +++ b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c > > @@ -25,17 +25,6 @@ struct int3403_sensor { > > struct int34x_thermal_zone *int340x_zone; > > }; > > > > -struct int3403_performance_state { > > - u64 performance; > > - u64 power; > > - u64 latency; > > - u64 linear; > > - u64 control; > > - u64 raw_performace; > > - char *raw_unit; > > - int reserved; > > -}; > > - > > struct int3403_cdev { > > struct thermal_cooling_device *cdev; > > unsigned long max_state; >