diff options
author | Robert Richter <rrichter@marvell.com> | 2020-02-17 12:30:23 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-02-17 13:37:00 +0100 |
commit | 4aa92c86463273b673e4170c60cb78e2625781eb (patch) | |
tree | a86e808795886e92efedbf03a98cb32244a0d447 /crypto | |
parent | 1853ee72997645e1aea85e20b94f7dcc55636887 (diff) |
EDAC/mc: Remove per layer counters
Looking at how mci->{ue,ce}_per_layer[EDAC_MAX_LAYERS] is used, it
turns out that only the leaves in the memory hierarchy are consumed
(in sysfs), but not the intermediate layers, e.g.:
count = dimm->mci->ce_per_layer[dimm->mci->n_layers-1][dimm->idx];
These unused counters only add complexity, remove them. The error
counter values are directly stored in struct dimm_info now.
Signed-off-by: Robert Richter <rrichter@marvell.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Aristeu Rozanski <aris@redhat.com>
Link: https://lkml.kernel.org/r/20200123090210.26933-11-rrichter@marvell.com
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions