Messages in this thread | ![/](/images/icornerl.gif) | | From | Uros Bizjak <> | Date | Mon, 7 Aug 2023 18:36:24 +0200 | Subject | Re: [PATCH] locking/arch: Rewrite local_add_unless as static inline function |
| |
On Mon, Aug 7, 2023 at 6:13 PM Christophe Leroy <christophe.leroy@csgroup.eu> wrote: > > > > Le 31/07/2023 à 10:42, Uros Bizjak a écrit : > > Rewrite local_add_unless as a static inline function with boolean > > return value, similar to arch_atomic_add_unless arch fallbacks. > > > > The function is currently unused. > > Is it worth keeping the function if it is not used ?
We already have plenty of these kinds of unused locking functions in arch/*/include/asm/atomic.h, so I thought we could leave this one as well.
Uros.
| ![\](/images/icornerr.gif) |