Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

u64_stat: Remove the obsolete fetch_irq() variants.

There are no more users of the obsolete interface
u64_stats_fetch_begin_irq() and u64_stats_fetch_retry_irq().

Remove the obsolete API.

[bigeasy: Split out the bits from a larger patch].

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://lore.kernel.org/r/20230110160738.974085-1-bigeasy@linutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Thomas Gleixner and committed by
Jakub Kicinski
dec5efcf a99da46a

-12
-12
include/linux/u64_stats_sync.h
··· 213 213 return __u64_stats_fetch_retry(syncp, start); 214 214 } 215 215 216 - /* Obsolete interfaces */ 217 - static inline unsigned int u64_stats_fetch_begin_irq(const struct u64_stats_sync *syncp) 218 - { 219 - return u64_stats_fetch_begin(syncp); 220 - } 221 - 222 - static inline bool u64_stats_fetch_retry_irq(const struct u64_stats_sync *syncp, 223 - unsigned int start) 224 - { 225 - return u64_stats_fetch_retry(syncp, start); 226 - } 227 - 228 216 #endif /* _LINUX_U64_STATS_SYNC_H */