From 55cfc6fd77362f1978bf858a802499d61f639b74 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 25 Aug 2022 16:43:46 +0200 Subject: [PATCH 08/64] u64_stat: Remove the obsolete fetch_irq() variants. Now that the 32bit UP oddity is gone and 32bit uses always a sequence count, there is no need for the fetch_irq() variants anymore. Delete the obsolete interfaces. Signed-off-by: Thomas Gleixner Signed-off-by: Sebastian Andrzej Siewior Acked-by: Peter Zijlstra (Intel) --- include/linux/u64_stats_sync.h | 12 ------------ 1 file changed, 12 deletions(-) Index: linux-6.1.96-rt35/include/linux/u64_stats_sync.h =================================================================== --- linux-6.1.96-rt35.orig/include/linux/u64_stats_sync.h +++ linux-6.1.96-rt35/include/linux/u64_stats_sync.h @@ -214,16 +214,4 @@ static inline bool u64_stats_fetch_retry return __u64_stats_fetch_retry(syncp, start); } -/* Obsolete interfaces */ -static inline unsigned int u64_stats_fetch_begin_irq(const struct u64_stats_sync *syncp) -{ - return u64_stats_fetch_begin(syncp); -} - -static inline bool u64_stats_fetch_retry_irq(const struct u64_stats_sync *syncp, - unsigned int start) -{ - return u64_stats_fetch_retry(syncp, start); -} - #endif /* _LINUX_U64_STATS_SYNC_H */