arm64: Remove unused cpucap_multi_entry_cap_cpu_enable()
PATCH 1/1 arm64: Remove unused cpucap_multi_entry_cap_cpu_enable()
The function cpucap_multi_entry_cap_cpu_enable() is unused, remove it to avoid any confusion reading the code and potential for bit rot.
Signed-off-by Mark Brown <[email protected]>
--- arch/arm64/include/asm/cpufeature.h | 15 --------------- 1 file changed, 15 deletions(-)
arch/arm64/include/asm/cpufeature.h +0 -15
@@ -362,21 +362,6 @@ cpucap_multi_entry_cap_matches(const struct arm64_cpu_capabilities *entry,return false; } -/* -* Take appropriate action for all matching entries in the shared capability -* entry. -*/ -static inline void -cpucap_multi_entry_cap_cpu_enable (const struct arm64_cpu_capabilities *entry) -{ -const struct arm64_cpu_capabilities *caps; - -for (caps = entry->match_list; caps->matches; caps++) -if (caps->matches (caps,SCOPE_LOCAL_CPU ) && - caps->cpu_enable) - caps->cpu_enable (caps); -} - extern DECLARE_BITMAP(cpu_hwcaps, ARM64_NCAPS);extern struct static_key_false cpu_hwcap_keys[ARM64_NCAPS ];extern struct static_key_false arm64_const_caps_ready;
Signature · 7 lines
2.20.1 _______________________________________________ linux-arm-kernel mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-arm-kernel