platform/x86: intel_telemetry: Remove unused telemetry_[gs]et_sampling_period()
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 8 Jun 2025 01:25:11 +0000 (02:25 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 11 Jun 2025 07:56:00 +0000 (10:56 +0300)
commitb35b9fb28c85ccee43c34768c5e2d9a5c510e660
treeb6cf86c11ec9b98eba5947bde83664d771dae1dc
parent3dd1e9c2a279cbc9c6a7f1e7961df08c76ecb464
platform/x86: intel_telemetry: Remove unused telemetry_[gs]et_sampling_period()

The functions:

  - telemetry_get_sampling_period()
  - telemetry_set_sampling_period()

were both 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-3-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