]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: intel_telemetry: Remove unused telemetry_*_events()
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 8 Jun 2025 01:25:10 +0000 (02:25 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 11 Jun 2025 07:55:54 +0000 (10:55 +0300)
commit3dd1e9c2a279cbc9c6a7f1e7961df08c76ecb464
treefdd0abf2ea73113d344ecbbe79f1bc86bc6ff50d
parente7c1a9e8d33ceb44ef088de7a9112a1db94d13a4
platform/x86: intel_telemetry: Remove unused telemetry_*_events()

The functions:

  - telemetry_add_events()
  - telemetry_update_events()
  - telemetry_reset_events()
  - telemetry_get_eventconfig()

were all added by the commit 378f956e3f93 ("platform/x86: Add Intel
Telemetry Core Driver") in 2016 but have remained unused.

They're each a tiny wrapper that is the only caller through a similarly
named function pointer, and for each function pointer there's a 'def'
empty implementation and a plt implementation.

Remove all of those components for each function.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Link: https://lore.kernel.org/r/20250608012512.377134-2-linux@treblig.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
arch/x86/include/asm/intel_telemetry.h
drivers/platform/x86/intel/telemetry/core.c
drivers/platform/x86/intel/telemetry/pltdrv.c