Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp212934lqe; Thu, 4 Apr 2024 04:47:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfgAwBO4K7yjfBA9mxlrMt0qj5yRjUAkCmf3AWBMmwq8HRXjWI4Vwzy7+o6VBefudYfzD9oG3oYug47UkgFHjKpzqOpmhkz7XKpI/TvQ== X-Google-Smtp-Source: AGHT+IGmK9BuPPKmCbdsUGKUGlXcDH80usF7dMfyb2MH+7ykKgqaVrMUB+CVGSYhcQsO/HSqMDUd X-Received: by 2002:a17:902:ef8c:b0:1e0:119e:f935 with SMTP id iz12-20020a170902ef8c00b001e0119ef935mr1605331plb.15.1712231236432; Thu, 04 Apr 2024 04:47:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712231236; cv=pass; d=google.com; s=arc-20160816; b=fTpwh9Gi8zUBOqyMR9DS2yrU2a3MBoRSFnJEx88i39edSzq4rv4S1GFo62LM+gar+i o/cmAjdRxMtOZ6UiyqCqS3vBQ4KNvpvZhaXTTyPKwxwmgwFk69q+W6TP006Z3Mc1Leox LdVTu4mPu2QTtBZiNV1rtBbhkaEBTr/UUHkMcqpRhcec6oGMGLLZsli2IoQy50uFwd3k px6OjGTXJ+QomByOBGpN0BU0VK1JLPNrX/lpKyhQYbJ8C0p8ETyRecPkoVDzxCdZ/KZI w0ve0OMT4b2vDciVC39A39KP2piNnUj1jG7c+34bHSUC+Zor3ho/gvGKqGkscaUI7Zwn ls2A== 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=/cfTb2VAwub8pYQSCzhjTlLFbA/bhq6Di6P54hY2C8Q=; fh=Kiz8beiW3qyqEj7baAPv4MxRczMX9fF5BBSf5QUM1cs=; b=sEC7n4aymxcWzIIscSwTt/+bUNQJ6+t0aeuqyBEkkc20YrSbfKBfGg5SC8hA1a/BrH l70QscH5Abe7xsjtQqR+IH4ztaYaJMuR7bkN8uw1gvigOFZVWCkHB5a+3o2nu00Olxv/ 2PEVUpf181K2u8BcoousRcCwqJvRQ3nkh0qXX6lt2XOjWQvEaevMmPb3wRZdbFuU0dBr /LiVScenIWuDe1dXj7Lyz9dom4urpQZ1ea/KjzzcPxZvJBSKpn4BPuBOHo/zt70Hh0MM zp14wLwO+xeY3aERvqHwn3mO3TZ+3Voi0r1dUyl6UzOPKak/ZYCyHem1b9T8g6+tIiZl q68Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jp37XKjr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-131329-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131329-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z16-20020a170902ccd000b001e2ae015093si1177828ple.448.2024.04.04.04.47.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Apr 2024 04:47:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-131329-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; dkim=pass header.i=@linaro.org header.s=google header.b=jp37XKjr; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-131329-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-131329-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 069E7289EC0 for ; Thu, 4 Apr 2024 11:47:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC00784D37; Thu, 4 Apr 2024 11:47:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jp37XKjr" Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 846C482897 for ; Thu, 4 Apr 2024 11:47:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712231223; cv=none; b=Obg/uH/Z/vcbxOSDJMRaaBjnN0AF5vZadlWkks27giKnRcVQP0AplW1Xgn7JyUr2Hh5wGmwknefovwQDNraOyLnUNYXaCkdCA+VlEo6sTevp4ZkMmDA3up/mchiCxC+UZ+HMNRDths4PIg4a9sIzZlaCukO2jTYmm4Gy+5GMsBQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712231223; c=relaxed/simple; bh=/cfTb2VAwub8pYQSCzhjTlLFbA/bhq6Di6P54hY2C8Q=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZDP5FuRAMsyeDa9bR8IfdLm7zrB3OwuTBu4kNfqqf3pDGu50BHBQLYAq065ZPiSpF6SpPfp1eXtT9BNqHtie12rIn+w4KmI4D5O3S34qfOXVCgFzlHfEht/Sev3JRzvckCducNN9/k65g4NoMsaV4H76t8PdDGbuGA6yqLWAs2Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=jp37XKjr; arc=none smtp.client-ip=209.85.128.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-6150670d372so9318967b3.1 for ; Thu, 04 Apr 2024 04:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712231220; x=1712836020; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/cfTb2VAwub8pYQSCzhjTlLFbA/bhq6Di6P54hY2C8Q=; b=jp37XKjrENlOH/kqi52bW69kmslU66UXAJit+oZZ4BUQXWW52NRhLAaWVT0Bx9Av6t ANsTmRLh481lUoibpCNoCPp5MmtISgUrAr22B2WldcElTf9Nlp3S0AWD5Rz1VwtsaKFs ecSBRTjHguwd3HG/FNBJxRAL9peWH4w+aio+mCv1hW6D6sBJV33Sjn0TgoP4nw0XC5xo Ey8e8sCJXtIrfQeWXXxZyefMXIMgLQi+5IOK7WqCcNN0V5Kf9C6xJYP+D/QSAqeM0/gH 7SRsbXkSqkMAM6d+sNF5ZsQl4xocPAlMKEBBpWlKJLbFywYsQAncqcDV0HaFD0FQ078q J4Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712231220; x=1712836020; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/cfTb2VAwub8pYQSCzhjTlLFbA/bhq6Di6P54hY2C8Q=; b=Tmtb6zxScR6h4smYyXyDVeIxFD39hqW0l4c21mzeriuSoDWYgP8rc0L4G3pZVcYdJh MCMzBmu+BuwdMHQRABR3qmCgPtZVGItkPY20hX7bjVAimKSeYGQfkGxAnSm5+UsQgG22 06bL/Gw6SKoPz4dSnhcDmC6im4K6ZLQZk3ly+zGw883k2dneuDUNPt7oKZH518YpPb7T KvDN/FDeZpvb5ETqx58SnYOksD6j2GKrofknRNLsWBT7Qs01hOibQGuaNn8V/OHuZyAg Afeu448Frd2QXpzjcJ8M2wOR4rIDGhgoOZFTeaTCljUuEGxkqTJE4CHoF9GLjYcKU0Bb RUig== X-Forwarded-Encrypted: i=1; AJvYcCXwmve7RXW1kwBilYuS6cbceHb5mEjPJBCjM0hJV/N64aedwKi5n7u0I2Ej8EYHO/Lu2Uc04rIbYksP+QX0SYuQl6wPD/69Z7nEMbpz X-Gm-Message-State: AOJu0YyyBB2PrdSIZ3HWHE6untenk35Uj7+31bkR/KLxHMWO6sfoHSwA usCSmBnAX+9VENFvDSl4YUPDcYfInxWRUhB6wzdwYgeexAbExjflr2K9goxISxtgTO/Y2joxQyi hPukGQ/i13uAsIfFwZZG6wziwMtdXOwQhHCou4A== X-Received: by 2002:a81:a18b:0:b0:615:17f3:55e9 with SMTP id y133-20020a81a18b000000b0061517f355e9mr2067506ywg.15.1712231220589; Thu, 04 Apr 2024 04:47:00 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Thu, 4 Apr 2024 13:46:49 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: pinctrl-single: Remove some unused fields in struct pcs_function To: Christophe JAILLET Cc: Tony Lindgren , Haojian Zhuang , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 1, 2024 at 10:49=E2=80=AFPM Christophe JAILLET wrote: > In "struct pcs_function", the 'pgnames' and 'npgnames' fields are unused. > This is a left-over from commit 571aec4df5b7 ("pinctrl: single: Use gener= ic > pinmux helpers for managing functions"); > > Remove them. > > Found with cppcheck, unusedStructMember. > > Signed-off-by: Christophe JAILLET Patch applied. Yours, Linus Walleij