OSDN Git Service

powerpc/atomics: Remove unused function
authorNysal Jan K.A <nysal@linux.ibm.com>
Fri, 24 Feb 2023 10:39:40 +0000 (16:09 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 4 Apr 2023 12:11:03 +0000 (22:11 +1000)
commitb0bbe5a2915201e3231e788d716d39dc54493b03
treea99aa808f5bab830823af2aee2846ad208e80312
parentac9c8901cb10aab043bf3599d19eebacfcda2858
powerpc/atomics: Remove unused function

Remove arch_atomic_try_cmpxchg_lock function as it is no longer used
since commit 9f61521c7a28 ("powerpc/qspinlock: powerpc qspinlock
implementation")

Signed-off-by: Nysal Jan K.A <nysal@linux.ibm.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230224103940.1328725-1-nysal@linux.ibm.com
arch/powerpc/include/asm/atomic.h