diff options
author | Serge Semin <Sergey.Semin@baikalelectronics.ru> | 2022-08-22 21:07:23 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-09-01 08:52:18 +0200 |
commit | 93df19476535a4ed871bc5eae719b6d67cf3abc3 (patch) | |
tree | 34deb3e15269dc37e0869e9dc8ce961dfa682805 /drivers | |
parent | EDAC/mc: Replace spaces with tabs in memtype flags definition (diff) | |
download | linux-93df19476535a4ed871bc5eae719b6d67cf3abc3.tar.xz linux-93df19476535a4ed871bc5eae719b6d67cf3abc3.zip |
EDAC/mc: Drop duplicated dimm->nr_pages debug printout
The duplicated edac_dbg()-based dimm->nr_pages print was introduced in
6e84d359b2be ("edac_mc: Cleanup per-dimm_info debug messages").
The duplicated line can be found even in the commit message text:
[ 1011.380101] EDAC DEBUG: edac_mc_dump_dimm: dimm->nr_pages = 0x40000
[ 1011.380103] EDAC DEBUG: edac_mc_dump_dimm: dimm->grain = 8
[ 1011.380104] EDAC DEBUG: edac_mc_dump_dimm: dimm->nr_pages = 0x40000
Drop the second edac_dbg() call.
[ bp: Massage commit message. ]
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/20220822190730.27277-14-Sergey.Semin@baikalelectronics.ru
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/edac/edac_mc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/edac/edac_mc.c b/drivers/edac/edac_mc.c index eb58644bb019..6faeb2ab3960 100644 --- a/drivers/edac/edac_mc.c +++ b/drivers/edac/edac_mc.c @@ -103,7 +103,6 @@ static void edac_mc_dump_dimm(struct dimm_info *dimm) edac_dbg(4, " dimm->label = '%s'\n", dimm->label); edac_dbg(4, " dimm->nr_pages = 0x%x\n", dimm->nr_pages); edac_dbg(4, " dimm->grain = %d\n", dimm->grain); - edac_dbg(4, " dimm->nr_pages = 0x%x\n", dimm->nr_pages); } static void edac_mc_dump_csrow(struct csrow_info *csrow) |