s390/cpum_sf: remove debug statements from function setup_pmc_cpu
authorThomas Richter <tmricht@linux.ibm.com>
Thu, 5 Jan 2023 13:11:33 +0000 (14:11 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Sun, 22 Jan 2023 17:42:34 +0000 (18:42 +0100)
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 <tmricht@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/perf_cpum_sf.c

index 934a45c..09a8c7e 100644 (file)
@@ -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)