From patchwork Tue Feb 13 11:20:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Slaby X-Patchwork-Id: 20303 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp468132dyb; Tue, 13 Feb 2024 03:22:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUl7M26KsNwcgrYAoEpz/bw876tq9yhjCtv1nI8ug60VfUj6Aqo+TWh4OXje4DESgbwcb1Xrev57ExYdPLheCV20BUZSw== X-Google-Smtp-Source: AGHT+IHiUaBw22GvzE7+kBLqRr7dTvOfAsz2RxSUN64Pvtv3mM/BtuSbLDprkVn6xiFnWfTyPdud X-Received: by 2002:a17:906:24d8:b0:a3d:1457:446 with SMTP id f24-20020a17090624d800b00a3d14570446mr654619ejb.54.1707823332779; Tue, 13 Feb 2024 03:22:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707823332; cv=pass; d=google.com; s=arc-20160816; b=owBw5GU//e9YaHAh1ebTNhQWzPzk0bQWRio0emphAxlTO7LgMYob1eYxDXugY3N17c ao3MUffHAQZ9oZvCmY/jkrQUZ+ddw8m4gSbn98MUyXqsymPdNPOzNb3DN5kWw8zO4PtT cIZaqWi2kgiLlcGkoOf2urDpzH/MHkVDAjCdhjgkr6gjS6eGjbn0YFCmmNbkZPFeVZcM XeI9YaYkJceIJT3U8QzPCdhm+16Q2C4S3S+B9U+u+tQU15p2rgM0jT9Iz4LDxYhQzuPq u/wdF3WRL40SxVTVvoG2GBktY/0VSB8mdrOrO8VaLZFR2jg1E0D+SDrjmf+4tgg2lAqj hy2Q== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=v0CS040Fvz4yp3BwhAHfXEShziRMS3sMyJrVFRMIQ7E=; fh=ZqAxx1Zzz42Orv9ggSPY0s+N6bhLsATDRIC0UX5i2Gk=; b=uREX6UXrAax0cvOcA/+kep0ZAzDxUOsCxQ47mO1TSgquc59BGSuQM/6lLlYaD6UyFT lXweZRAYL7oW2y7Y7iZo1a/HnvFxIWCQkPvFEjdCzsSPVWvwR3ieCYatZFzLasU5z+/F C66ueNWoDLUf32dQNzZCRQmHgeywGBw6lqKUaMOIzAz1F/jL+O8Z8k5grbEPkbC4BhhS i/TKjeGeCtpWl47FtecehnE/1NudFRXISoVHJGzqtIiYZRXLFxbXWPPonznAehuZx1Zo axymZQhWRa+5I/7mYgnBndx3omSOgYPJAFh8K28R3Wrgzc2bDJeqFdnYuelX994WKc2M Ghsg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j8NL7LZX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63417-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63417-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXZ0YadtRhV1FeYK1B4epZDmIiKuAnSFenix08LK+DrNlkBkEm20rpjEqh8QDLimJ2PfHxg+OFURE6MGrpi+xCv/06rkw== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id qa16-20020a170907869000b00a3c3fe0acf2si1186503ejc.1037.2024.02.13.03.22.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 03:22:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63417-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=j8NL7LZX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-63417-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63417-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 338F31F21EA0 for ; Tue, 13 Feb 2024 11:21:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EEB2136AEB; Tue, 13 Feb 2024 11:21:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="j8NL7LZX" 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 6DB21364A3; Tue, 13 Feb 2024 11:20:59 +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=1707823259; cv=none; b=o38GUCma1NPQiFAoAEzqnb9iQBDQCoDXEOj/U6bmp6/sC1mFyBtHb8PGsHrOd7swUDpJIBDtnIQky98On+3GP33T8RXO4y0FzUAEis1PzQOLDX2qnn562s3q4DKj+jQf8IyPOjCgKnuPrbe8FwPfn7gDzE3nT31j4Fq3MUR6+2k= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707823259; c=relaxed/simple; bh=pOyF5CfLouZgow7TuV5pWW9r9yPAsPyI7+i4TrHEPsU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XcDIChYkbqkEDueMHspkQoG4yvjHhWumUv3CHZyL3lEJL/rHDM5nVNVvqDm2RdPBndq1xWSBLe7B3MDJ1ZHyqYpZGXOqfcRHpnzFNeNDeIk/9fpnXMYNmUE0AQZDS2+l1v7vlfM6DFhe0K2+up4HmYK+AEL2ITU4N0VnKi0TPVk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=j8NL7LZX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FC9CC433F1; Tue, 13 Feb 2024 11:20:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707823258; bh=pOyF5CfLouZgow7TuV5pWW9r9yPAsPyI7+i4TrHEPsU=; h=From:To:Cc:Subject:Date:From; b=j8NL7LZXhY9d9S9H+jlm3YKSQKgOe5jcKiaGzUDOQ1snpFtSJqhfOaeFmjutyi7zq nNteUvklFXDC/3oybcOQWM2YfepjHSWJwygEarwTushIWuo5pvXICyaiLJSC3zm+6Q /1Cn6uRgp7ZlJ+siQLuDkIqbXVc5LYw8glM3iFd1HwlE+tOmSEpIDtFalgsNCtq29e QoeENfA+SUwmcGNBK+wk64DxptIsR8ClWn/hZbZ/JPDsIDf6oq93VEyMNB4h2uXO+r KMxoINUVJbIOexhcMd6ralxLbcy6idqa+hSleBawABSfDFr15Pc6ssYCUkFT2+6d5d R1H7uBC1Tt7Dg== From: "Jiri Slaby (SUSE)" To: bp@alien8.de Cc: linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Andre Przywara , Bjorn Andersson , Dinh Nguyen , Douglas Thompson , James Morse , Jan Luebbe , Johannes Thumshirn , Khuong Dinh , Konrad Dybcio , linux-edac@vger.kernel.org, Manivannan Sadhasivam , Mauro Carvalho Chehab , Michal Simek , Palmer Dabbelt , Paul Walmsley , Ralf Baechle , Robert Richter , Sai Krishna Potthuri , Shubhrajyoti Datta , Tony Luck , Yazen Ghannam Subject: [PATCH 0/7] EDAC: remove unused structure members Date: Tue, 13 Feb 2024 12:20:44 +0100 Message-ID: <20240213112051.27715-1-jirislaby@kernel.org> X-Mailer: git-send-email 2.43.1 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: 1790782558589902539 X-GMAIL-MSGID: 1790782558589902539 Hi, this series removes unused EDAC structure members as found by clang-struct (and manually checked by me). I admit I could not even compile-test octeon files, hopefully kernel-test robot would catch mistakes in there. Cc: Andre Przywara Cc: Bjorn Andersson Cc: Borislav Petkov Cc: Dinh Nguyen Cc: Douglas Thompson Cc: James Morse Cc: Jan Luebbe Cc: Johannes Thumshirn Cc: Khuong Dinh Cc: Konrad Dybcio Cc: linux-edac@vger.kernel.org Cc: Manivannan Sadhasivam Cc: Mauro Carvalho Chehab Cc: Michal Simek Cc: Palmer Dabbelt Cc: Paul Walmsley Cc: Ralf Baechle Cc: Robert Richter Cc: Sai Krishna Potthuri Cc: Shubhrajyoti Datta Cc: Tony Luck Cc: Yazen Ghannam Jiri Slaby (SUSE) (7): EDAC/amd64: Remove amd64_pvt::ext_nbcfg EDAC/device: Remove edac_dev_sysfs_block_attribute::{block,value} EDAC/device: Remove edac_dev_sysfs_block_attribute::store() EDAC: Remove dynamic attributes from edac_device_alloc_ctl_info() EDAC: Remove edac_pci_ctl_info::edac_subsys EDAC: Remove edac_pci_ctl_info::complete EDAC: Remove edac_device_ctl_info::removal_complete drivers/edac/altera_edac.c | 8 ++--- drivers/edac/amd64_edac.h | 1 - drivers/edac/amd8111_edac.c | 3 +- drivers/edac/armada_xp_edac.c | 2 +- drivers/edac/cpc925_edac.c | 2 +- drivers/edac/edac_device.c | 53 ++------------------------------ drivers/edac/edac_device.h | 22 ++----------- drivers/edac/edac_device_sysfs.c | 22 ++----------- drivers/edac/edac_pci.h | 5 --- drivers/edac/highbank_l2_edac.c | 2 +- drivers/edac/mpc85xx_edac.c | 2 +- drivers/edac/octeon_edac-l2c.c | 2 +- drivers/edac/octeon_edac-pc.c | 2 +- drivers/edac/qcom_edac.c | 1 - drivers/edac/sifive_edac.c | 3 +- drivers/edac/thunderx_edac.c | 6 ++-- drivers/edac/xgene_edac.c | 10 +++--- drivers/edac/zynqmp_edac.c | 2 +- 18 files changed, 26 insertions(+), 122 deletions(-)