mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 09:20:13 -04:00
coccinelle: atomic_as_refcounter: drop atomic_long_dec_and_lock
atomic_long_dec_and_lock() has never existed. So drop it from the rules. No functional change. Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
This commit is contained in:
committed by
Julia Lawall
parent
3beb6e620f
commit
5264281879
@@ -26,8 +26,6 @@ identifier fname6 =~ ".*call_rcu.*";
|
||||
atomic_dec_and_test@p1(&(a)->x)
|
||||
|
|
||||
atomic_dec_and_lock@p1(&(a)->x, ...)
|
||||
|
|
||||
atomic_long_dec_and_lock@p1(&(a)->x, ...)
|
||||
|
|
||||
atomic_long_dec_and_test@p1(&(a)->x)
|
||||
|
|
||||
@@ -69,8 +67,6 @@ identifier fname =~ ".*free.*";
|
||||
atomic_dec_and_test@p1(&(a)->x)
|
||||
|
|
||||
atomic_dec_and_lock@p1(&(a)->x, ...)
|
||||
|
|
||||
atomic_long_dec_and_lock@p1(&(a)->x, ...)
|
||||
|
|
||||
atomic_long_dec_and_test@p1(&(a)->x)
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user