Skip to content

EDAC: remove unused structure members

Jiri Slaby (SUSE) linux-edac lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7EDAC/amd64: Remove amd64_pvt::ext_nbcfgdrivers/edac/amd64_edac.h+0 -11 reply
2/7EDAC/device: Remove edac_dev_sysfs_block_attribute::{block,value}drivers/edac/edac_device.c drivers/edac/edac_device.h+0 -80 replies
3/7EDAC/device: Remove edac_dev_sysfs_block_attribute::store()drivers/edac/edac_device.c drivers/edac/edac_device.h drivers/edac/edac_device_sysfs.c+6 -260 replies
4/7EDAC: Remove dynamic attributes from edac_device_alloc_ctl_info()drivers/edac/altera_edac.c drivers/edac/amd8111_edac.c drivers/edac/armada_xp_edac.c +12 more+20 -790 replies
5/7EDAC: Remove edac_pci_ctl_info::edac_subsysdrivers/edac/edac_pci.h+0 -20 replies
6/7EDAC: Remove edac_pci_ctl_info::completedrivers/edac/edac_pci.h+0 -30 replies
7/7EDAC: Remove edac_device_ctl_info::removal_completedrivers/edac/edac_device.h+0 -30 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchYazen Ghannam
1/7R-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] EDAC: remove unused structure members

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 <[email protected]>
Cc Bjorn Andersson <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Douglas Thompson <[email protected]>
Cc James Morse <[email protected]>
Cc Jan Luebbe <[email protected]>
Cc Johannes Thumshirn <[email protected]>
Cc Khuong Dinh <[email protected]>
Cc Konrad Dybcio <[email protected]>
Cc Manivannan Sadhasivam <[email protected]>
Cc Mauro Carvalho Chehab <[email protected]>
Cc Michal Simek <[email protected]>
Cc Palmer Dabbelt <[email protected]>
Cc Paul Walmsley <[email protected]>
Cc Ralf Baechle <[email protected]>
Cc Robert Richter <[email protected]>
Cc Sai Krishna Potthuri <[email protected]>
Cc Shubhrajyoti Datta <[email protected]>
Cc Tony Luck <[email protected]>
Cc Yazen Ghannam <[email protected]>

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(-)
Signature · 1 line
2.43.1