From patchwork Tue Feb 13 11:20:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Slaby X-Patchwork-Id: 200385 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp468472dyb; Tue, 13 Feb 2024 03:23:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXxuGiSwR+SyqG17skoflaURXP021FLodwZADsB362vt0qv8EC/MbO+0iUugkdQ2pf9cfFeO1EcCWmHf0Ef9CAbWTEWHA== X-Google-Smtp-Source: AGHT+IFCyqhzVne1lMOMk3dyO2eiYsTokLjdUL48DTHMWjO3Ol28LjuNptbXGsTn51mVvamtAahJ X-Received: by 2002:a05:6a21:3183:b0:19e:a3b9:1e0f with SMTP id za3-20020a056a21318300b0019ea3b91e0fmr2772204pzb.11.1707823385443; Tue, 13 Feb 2024 03:23:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707823385; cv=pass; d=google.com; s=arc-20160816; b=Oyss1QhqXV8z7VUJXZL5l7YSnX5Jy0lzfyrSuLl/eNFfIqS9IQ24LXkSnHQbDNHEUR nDSYh4cs1i8GvcIEinb9yXvcMrJTT3fOdGnH4akvCtFuhni1PSzb5rRtOwdTcuSf4OWl kOAzfTYd/9VI2v3CkP6Sm5E5g5nvCfd5IXHlP3O/R652k8OIw5y5W4mDo8poqcNiktIl gpjlTl3348UubJM4aTAez+QhiO9/ZLknQIQIXrDS62dc4FMmALNh+7rsH/XGoR5o6s4p D43gaxOoc7BMGeefZWETqP3yk3u8ZRtJ83mxejn+jwnQIOTn0fX3aXFzjyjSJir4slJK fNVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=H5z4QrrTGrkJqjtny1SQQjz8f8wNKUaKklgPzHw1Xzg=; fh=d9q24ZVYNNYxuHTC1CrJXoPxX8+7JLGqf7PjNonkJQs=; b=VrAgTgQnszhHeAe88V4c2cZ7EO8M3q/Oh7rRb5TA0urbknGE6Of6UdeGDoR9SlRtpD uesGQRItpThTFp2tqudlVFwgBf6GhNaqwe9svED7fz4jh6ADtLZbHPOfbN58bEGxx+G9 /ZGBNACUXZdYhRNLFlJGLCfvYcQ4XwJbTNEIoZh/irjCjBnC3ru09F14syEt65fWrilq FtY4KvTHlhNrFBgrCYH695L6CDH2OydGBQz6MuoS4elzapFfXX2FSMqjByIuq18AgG6H UmeF8ECUv/TUd7Cw9sQ+ch+pnwHPxYYFR+1GjZacXEA7LmHLH63mLmMYzqo1Ibt99WdY OghA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y2PzkbqT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63423-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63423-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXCffVnh7YVez8631bCUUD6QsvP0q+pSpHTdkEnU4eNDuirsO5+I0oQQ34yGn5s5qflYorima4Ve39a7GcknW39qWyNEg== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id ff16-20020a056a002f5000b006e0595f4e68si6556677pfb.301.2024.02.13.03.23.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:23:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63423-ouuuleilei=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=@kernel.org header.s=k20201202 header.b=Y2PzkbqT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63423-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63423-ouuuleilei=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 6B0CA2837B5 for ; Tue, 13 Feb 2024 11:22:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6810C42070; Tue, 13 Feb 2024 11:21:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Y2PzkbqT" 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 D2B0241A8D; Tue, 13 Feb 2024 11:21:15 +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=1707823275; cv=none; b=ghrILomsBCtAzwp478HgwupW1rviUJRtXtHYW053+H+yl9gySQ8rgZUHS1ne9BpKKCbYVNrvHqC5MInZjvEK1x9M9h7KPEEJMOx7BDhK+OjxmNQKp6heWqCDEKhP+zSPRtjm59WNJ9+lwiyaX7LCzNcbpo/mlSVyhN5sfVplAGo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823275; c=relaxed/simple; bh=aIolLqLqC/bcDMHyNhQznYMvDY5tSLws2Dm32ULRu6I=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UVNaot8kyjfzDUGAVyX3XRxeYxuTeMSfHFqL/PZnD/uZuSKo9/UNj46ZeX1fIVe7NvT6cef/X4A2T29O2l582cV7gkJy6xNfnGEFJk2fXycPeHMAcEKiSOJ1/IfK7cuZYNFHcB2kD8BD2PbFLqVFwCbOdhhpYVv3O6jKOQ/NqpE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Y2PzkbqT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A6C6C43330; Tue, 13 Feb 2024 11:21:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707823275; bh=aIolLqLqC/bcDMHyNhQznYMvDY5tSLws2Dm32ULRu6I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Y2PzkbqTLskgujKP0PKcKdywI/RCRDveMxFtuISmptb634zEmqNFJ8ouOuMVCTndN x0mXPvlw+RtzkSzm5OWagRFZPlqFd2YZipn6VbFzmfWFEzv5gZ0dM7QJF17rks3BWs DzGnC2bE3D4R13fwZ2CQqrmRNJwrCNCsp0NlIMlaIZ5dtp+vLl8XSniAMAO94Stdcu U/IWDJecQvUdpPKSGPB7IeYaAWTcuISEjoFjVMotzHcAwiAv3Hzhthw5SImQo/X4gI CQZx6tYQgkmH+GIduJJ/c4btxEPxvhg+Kf1hZFmTQg9b/LbuGotV5xkaFeXkveeD76 9gd6L39Hg4K8Q== From: "Jiri Slaby (SUSE)" To: bp@alien8.de Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Tony Luck , James Morse , Mauro Carvalho Chehab , Robert Richter , linux-edac@vger.kernel.org Subject: [PATCH 6/7] EDAC: Remove edac_pci_ctl_info::complete Date: Tue, 13 Feb 2024 12:20:50 +0100 Message-ID: <20240213112051.27715-7-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 In-Reply-To: <20240213112051.27715-1-jirislaby@kernel.org> References: <20240213112051.27715-1-jirislaby@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790782614276229193 X-GMAIL-MSGID: 1790782614276229193 edac_pci_ctl_info::complete is not used since commit 458e5ff13e1b (edac: core: remove completion-wait for complete with rcu_barrier). Drop it. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) Cc: Borislav Petkov Cc: Tony Luck Cc: James Morse Cc: Mauro Carvalho Chehab Cc: Robert Richter Cc: linux-edac@vger.kernel.org --- drivers/edac/edac_pci.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/edac/edac_pci.h b/drivers/edac/edac_pci.h index 4159a3ef0dbf..3f47cd9b2b03 100644 --- a/drivers/edac/edac_pci.h +++ b/drivers/edac/edac_pci.h @@ -22,7 +22,6 @@ #ifndef _EDAC_PCI_H_ #define _EDAC_PCI_H_ -#include #include #include #include @@ -70,8 +69,6 @@ struct edac_pci_ctl_info { unsigned long start_time; /* edac_pci load start time (jiffies) */ - struct completion complete; - /* sysfs top name under 'edac' directory * and instance name: * cpu/cpu0/...