Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1295921lqm; Thu, 2 May 2024 10:16:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAWYYDUPFbtcDDhAQI2pvhDf+qz6KOA4c6c0e+C8TQCJVmx0uwuFdvfBrEFNG2Uu3uPsm68rsmCe30mlGvbyUqPI/x2TGm/8Cmack0JQ== X-Google-Smtp-Source: AGHT+IFgHOb4S43Xv2oBDFJJmObkb2JepOM6IdhH7a6ticZriQRCy58Q6XjudEscphDjiUMre3Ka X-Received: by 2002:a17:902:f683:b0:1ed:1bab:5e85 with SMTP id l3-20020a170902f68300b001ed1bab5e85mr394625plg.2.1714670205936; Thu, 02 May 2024 10:16:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714670205; cv=pass; d=google.com; s=arc-20160816; b=yrSfgAIxzh+fF4s3nn/zRy+Aa6WMe1Fw+kWAJzCaSNKjzJpW2NJKgOUfeCTElcbA1l wu3zHX21fIc+Aiczko4CFw2rnzQgteo7soAklXbyQFOt3CsmzC2ogXPWUWcIIH+fsku/ SR/kPQXGbTUDVNzoEgVGKSmI6VXN3cr57UTyFXVy1RH0ZxbELjt3as/vGJt5Em71Uk5O +ganWgxTsdzt8HA+AOYGC/nHutkU0TLCNhQRjcBoYm+gdK1R9fM03wdFBaxKRVzydPM1 3k42O9rzxQsuHPYT+kk4xK7oarZWTiHsdwygKUf3W6yzhlZFdzHLTxVPbrylzPJs5O57 bh6A== 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:dkim-signature; bh=vqESv7WWeMZja//oT9UpepgkVeWQJ4ZwtdjNAEaaYto=; fh=MGHBxZBL6+TAw/OHsEccy483Cf56MSqbLg6yzSJJjI4=; b=EPQ+kzdsFXa2AwVoUKuJLdSCpZIY7UHCYRORISYNVOo4l88OQMCDF/nr5sRDbG9E8q 0vW8FzYCkX4di1yvFfghdNHtDnGOrbLXoW66UxmLy4TYx6zjtIJ1oFbNxy4TMX35z4HR LsZG3mPR6DbQ7fSzEbaceUY1FmYy4dZQDAULHDRu+qhtvv3b/3o56y/VpVZ6UML4/O0P XQTRiQLWS/7NrFcG7dvC93iLR7teRMrg+In5n/+ELPJXifgXwGDsP7SDSDpNvXQR0gsq 6AXVg3UGV47qepmF0EZFqgg2ZXIK3yH0H9X85ZhRAt0Ba23Iz26rg62ckZ8bU1LA/zE7 2XNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="m/YGbibJ"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166771-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166771-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 q16-20020a17090311d000b001eb6f00e3fbsi1382137plh.346.2024.05.02.10.16.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 10:16:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166771-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="m/YGbibJ"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-166771-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166771-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 73DFA287B3F for ; Thu, 2 May 2024 17:15:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0E2616FF3D; Thu, 2 May 2024 17:14:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="m/YGbibJ" 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 032BC15E7F4; Thu, 2 May 2024 17:14:55 +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=1714670096; cv=none; b=qnNxsW12F/lUFg+4ZwGHmcJHOjUb2mfjWqWGPCdPCCw7F8+LMCBtxuFvCvnGZGHP2fjozFhenMkmyOAWX4e2Lz3d+Cry89VIuwJ9f+7mdzTKLCXwXBuWTygg09nyHo8k976AsSoeG2zQqrZhYyJxlQPwgVVHGL6i6G+0mlQ9uk4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714670096; c=relaxed/simple; bh=N5HHrMygWqjBvhvqTPXKIRh02+LNnMgHkw3e9eLY0ew=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=D0YfPSndBxG4lp1Ec+E526TlAFvtWaykP82dBSBJWnsjxPIqOKi6/tC15osf/vPHVC1fJK4gKaGZHbW8kEj6fbUfTWaJKoig+Gr+ceGvMSiGFQ9bJofju6W03X1RkKtxXIlJrSsw7MPy0KhlaVAxZH5MRyE4MZVST0Mi6JCdUno= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=m/YGbibJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id ABF56C116B1; Thu, 2 May 2024 17:14:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714670095; bh=N5HHrMygWqjBvhvqTPXKIRh02+LNnMgHkw3e9eLY0ew=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=m/YGbibJzsWR0UG2me+jlP7N6NbtsfyxLPs94dUbAHBdUosFWZ3fAbXfTudpooG5q Ou4W/VP8l/jtDiya8wSkyrYLgbLWid4J2VMgBoX2JsBvXVcjHQ3CeE2xFjkX6BoOG/ InKwP3CAB+6vC8c3g+hkcGAjQGOihD7y05OIHD9dYo9LeXIT5Du260ncYPhvibd0NW 7n6RFjWUXJ6r4wX00sG/puIqaOvx23EBX59y8xyp04Y7R1+T+YVcHAKrkHvqY9Kx9H sHj8kgTXofB2P1/Pfxe+yxImR09iGrQF4B1qoVlGVt886zcdLlK9nJyHGmr590YuCH O7uGRlvkCb3DA== Date: Thu, 2 May 2024 18:14:51 +0100 From: Lee Jones To: Christophe JAILLET Cc: AngeloGioacchino Del Regno , Pavel Machek , Matthias Brugger , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] leds: mt6370: Remove an unused field in struct mt6370_priv Message-ID: <20240502171451.GE1200070@google.com> References: <16df315e-8a05-49a4-ac07-d1ed150c9317@collabora.com> 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: On Mon, 29 Apr 2024, Christophe JAILLET wrote: > Le 29/04/2024 à 10:13, AngeloGioacchino Del Regno a écrit : > > Il 28/04/24 20:27, Christophe JAILLET ha scritto: > > > In "struct mt6370_priv", the 'reg_cfgs' field is unused. > > > > > > Moreover the "struct reg_cfg" is defined nowhere. Neither in this > > > file, nor > > > in a global .h file, so it is completely pointless. > > > > > > Remove it. > > > > Sure > > > > > > > > Found with cppcheck, unusedStructMember. > > > > > > So, remove it. > > > > Again?! :-P > > Yes. This way we safe twice the memory space :). I changed all of the commit messages in this disjointed set to flow a little better. No need for a Fixes tag either I feel. -- Lee Jones [李琼斯]