]> Pileus Git - ~andy/linux/blobdiff - arch/s390/kernel/perf_event.c
s390/ftrace: avoid pointer arithmetics with function pointers
[~andy/linux] / arch / s390 / kernel / perf_event.c
index 500aa1029bcb2d2ed12ae352a91cec068322615b..2343c218b8f991224e0d3fb44e6838354cfb7e7e 100644 (file)
@@ -105,13 +105,10 @@ void perf_event_print_debug(void)
 
        cpu = smp_processor_id();
        memset(&cf_info, 0, sizeof(cf_info));
-       if (!qctri(&cf_info)) {
+       if (!qctri(&cf_info))
                pr_info("CPU[%i] CPUM_CF: ver=%u.%u A=%04x E=%04x C=%04x\n",
                        cpu, cf_info.cfvn, cf_info.csvn,
                        cf_info.auth_ctl, cf_info.enable_ctl, cf_info.act_ctl);
-               print_hex_dump_bytes("CPUMF Query: ", DUMP_PREFIX_OFFSET,
-                                    &cf_info, sizeof(cf_info));
-       }
 
        local_irq_restore(flags);
 }