summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKuan-Wei Chiu <visitorckw@gmail.com>2025-10-11 09:38:36 +0300
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2025-10-15 11:38:25 +0300
commit32647324c77012b7aed7ef48752909510d3c7ec7 (patch)
treef15c956a7dad24d2f9a81b332e766bbc156bc935 /include
parent3a8660878839faadb4f1a6dd72c3179c1df56787 (diff)
downloadlinux-32647324c77012b7aed7ef48752909510d3c7ec7.tar.xz
platform/x86/amd: hfi: Remove unused cpumask from cpuinfo struct
The cpus field within the struct amd_hfi_cpuinfo was allocated and set in the amd_hfi_online() CPU hotplug callback, and subsequently freed in the amd_hfi_offline() callback. However, after being initialized, this cpumask was never read or used for any purpose within the driver. It represents dead code that serves no functional role. This change has no impact on the driver's functionality as the removed code was entirely superfluous. Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com> Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Link: https://patch.msgid.link/20251011063837.2318535-2-visitorckw@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions