From: Thomas Richter Date: Thu, 5 Jan 2023 13:11:33 +0000 (+0100) Subject: s390/cpum_sf: remove debug statements from function setup_pmc_cpu X-Git-Tag: v6.6.17~5518^2~77 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4012fc20e2c6b01c5cf53a7f9d7693da4c10de45;p=platform%2Fkernel%2Flinux-rpi.git s390/cpum_sf: remove debug statements from function setup_pmc_cpu Remove debug statements from function setup_pmc_cpu(). The debug statement displays a pointer value to a per cpu variable. This pointer value is printed nowhere else, so it has no use for cross reference. No functional change. Signed-off-by: Thomas Richter Acked-by: Heiko Carstens Signed-off-by: Heiko Carstens --- diff --git a/arch/s390/kernel/perf_cpum_sf.c b/arch/s390/kernel/perf_cpum_sf.c index 934a45c..09a8c7e 100644 --- a/arch/s390/kernel/perf_cpum_sf.c +++ b/arch/s390/kernel/perf_cpum_sf.c @@ -609,9 +609,6 @@ static void setup_pmc_cpu(void *flags) if (err) pr_err("Switching off the sampling facility failed " "with rc %i\n", err); - debug_sprintf_event(sfdbg, 5, - "%s: initialized: cpuhw %p\n", __func__, - cpusf); break; case PMC_RELEASE: cpusf->flags &= ~PMU_F_RESERVED; @@ -621,9 +618,6 @@ static void setup_pmc_cpu(void *flags) "with rc %i\n", err); } else deallocate_buffers(cpusf); - debug_sprintf_event(sfdbg, 5, - "%s: released: cpuhw %p\n", __func__, - cpusf); break; } if (err)