Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp864666lqo; Fri, 17 May 2024 04:09:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX0s+sKln9vLXYznOJpoTs8upN/++6pfWeeqiPaiD9G2PofCpk1KKbHCRaWHxwtjW/ec+EQh6ttmdsxPPEYymAaXLsF5HxeVlaYGV63Iw== X-Google-Smtp-Source: AGHT+IHwuWUlD+b5lTRUdSArtcy8T8EVo9vMTG4J5jKNGbA3SJDArG1GYTybVRNIjHrsyJ891Fws X-Received: by 2002:a05:6a00:98d:b0:6f4:9fc7:d239 with SMTP id d2e1a72fcca58-6f4c9334e39mr38444443b3a.14.1715944151253; Fri, 17 May 2024 04:09:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715944151; cv=pass; d=google.com; s=arc-20160816; b=Y7HoDE+H67LKGUepTrUdzfejSgQeL+3bkuHrH0nxiB9vvaRTfhtd63AJlRfq+mNq/H 99utIjpDlrgRyAwN+bFr3Pa/t6dShZkTIijhLuX3D0Bt9PI6DV1U64X8eYVFtXdlWHT4 Uy8SNIzWZIBsRhfXrucS0wNgl8m/A43LpuAXhKh/FdDS2aXuZOcMB1WqnLRRP4nCJE9L 20mjLeMBYcSeRn1tBQkpfYl1i7ZmLqqzklC7pF7k9K6GRUL8PhiS2VVr44xwzLDNqrqI 87sYS/9UhE8dRgjzfualac5yC5VtkaAPgLCPSfYuXuHbplj2+ghjLlEkWWYDTJcAhn8t Q/rA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=yht2LD80B28pJAQ4A9hUxuWsUKcbjheod3UZATHiu0E=; fh=IAMqrQ3q/RE02AUJEy7ZrunQCyPhMlo44di/HgH+QDc=; b=mZJ7c8BxPvwZeTVR0WORz9PZ4jFkUWL3x0HhX6vms8U+vA/1aDNuQhIz7g1OrFEzxW wYyucUpepi97W0Q8kzHmG9bgh+9ZAPgIO44FhoEvVvup5K4P5sxffpj0CQnmF/sKNI6x 4fRw2LtX5TkiD71rSnSOEJTmOVzN2jubSOyxn1sqKwJHGQIp19JK8UNRMtn5zOyXREeP A854mDBzLBQRmKgUp2PeXqN2NK8N/19fFrOl1RdidjUiXcIZvIBysubCqzwTspLnLYw+ eD0GIl879sNH0bGxv+wrqFmVa7aftqqcggZ3YRSREjqUqOUP2B4sPExKIHxBiMeNlN0I arCg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-182026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6596fde8f1fsi3422443a12.131.2024.05.17.04.09.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 04:09:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182026-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; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-182026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.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 4A063283C5A for ; Fri, 17 May 2024 11:09:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 907B73CF58; Fri, 17 May 2024 11:08:59 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 D3AAD45007; Fri, 17 May 2024 11:08:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715944139; cv=none; b=PR0zRy5sCOEu2o3THVrVFmePNbO9clFT5/MvIvNNea3ffFFUXeQiy8H9n6/qza1jiHcBzlcgWMNnEUEVdPu1Rjdn6xhrw19BilCjGkYFfxpsrmkEwBOPuQbJoo/TrVaFtaOMqE46Bhs6QeBZ506EM826KzNDUGrdM86++Wr2Uj8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715944139; c=relaxed/simple; bh=p6dfWuB4Whcj4xr75oZDNBWAzo6Em8ZoqSFzP5xF2y8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rEe7ftw4c8apPwGz8ZXpCWj4M/n4kqAO+p2RBzon2Oe6HQ+Xd2vOcau76ldlQ0j1RHM6yfJ3VxAG4dLwVg4NpZSWYAeODCd7d/KeOoEc55Vyvcd2WPn7mTx1M4gq92dpV37PE13Lxl7Qrkw+oJn2YnOaj75+deoRUODNn6fG1oA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.210.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6f4603237e0so32756b3a.0; Fri, 17 May 2024 04:08:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715944137; x=1716548937; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=yht2LD80B28pJAQ4A9hUxuWsUKcbjheod3UZATHiu0E=; b=BQr0xqWu3ACndc5h/OlLFp4FrmofVVbDBkRUgwfnGtx3Mx8YMKX4ySNXakqpiFviPQ tbB3d+EuJkQXKlN4l3cERD90Hoiu2MKI6d3Z36YoAsj4oZjJ3T9r8VT1SKQtFgvhBC9s CGqwYIKNmo+I+ODizytVRUIdAjXgG6JVdXyXH+rXxEbuuZoNCu3NUzYJ/hVMcFecpGQc +hNc6wppWVUQSDtQ3PN2DqpnJskshM6oVreyzju2N8rVPXihQlHzXRKSZMoLCG80Gzt0 tsNAghJPBpT1we+G0S/l6udWzI/lTNfpgq+Nw4y65eXhUeasS3gAka80+pa6ad3T7qF4 Q6Zw== X-Forwarded-Encrypted: i=1; AJvYcCVD8Y+qLPYw3td/vfTWLMrWEf23qoWS6i3YQIfPAN0catWz8ItInbnHyO2mukOgaN9sI6+W5GooY3InbNs3olp6B7WszkXrS4qVArVVla62mwBXmD/pxLh6a5qoMKKmJ8VxxL9Uu4YfbP7IF/TzqaQRQmH9t5sD+KSkwebTGNhH0scll92kezGO X-Gm-Message-State: AOJu0YzYP8r0NCqXUB5yIYtkD/ZOsR7ctR47UUnQGyGppx8bIofp9R4T N6VpZJol0dv3tkZ6nyBmJIRIbexPmc+ajD/IW4KxwFVOfl2kG2DQK98lA9s2 X-Received: by 2002:a05:6a00:23d3:b0:6ea:ed87:1348 with SMTP id d2e1a72fcca58-6f4df435c31mr31860502b3a.13.1715944137135; Fri, 17 May 2024 04:08:57 -0700 (PDT) Received: from localhost (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d2a83d3dsm14567847b3a.65.2024.05.17.04.08.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 04:08:56 -0700 (PDT) Date: Fri, 17 May 2024 20:08:54 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Christophe JAILLET Cc: Manivannan Sadhasivam , Kishon Vijay Abraham I , Bjorn Helgaas , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH] PCI: endpoint: Remove some unused fields in struct pci_epf_group Message-ID: <20240517110854.GN202520@rocinante> References: <6507d44b6c60a19af35a605e2d58050be8872ab6.1712341008.git.christophe.jaillet@wanadoo.fr> 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=us-ascii Content-Disposition: inline In-Reply-To: <6507d44b6c60a19af35a605e2d58050be8872ab6.1712341008.git.christophe.jaillet@wanadoo.fr> Hello, > In "struct pci_epf_group", the 'type_group' field is unused. > > This was added, but already unused, by commit 70b3740f2c19 ("PCI: endpoint: > Automatically create a function specific attributes group") > > Remove it. > > Found with cppcheck, unusedStructMember. Applied to endpoint, thank you! [1/1] PCI: endpoint: Remove unused field in struct pci_epf_group https://git.kernel.org/pci/pci/c/ddc66cc4e695 Krzysztof