You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
Remove tas()
tas() has no users, so get rid of it. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Cc: <linux-arch@vger.kernel.org> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
c343c14aec
commit
5dc12ddee9
@@ -76,7 +76,6 @@ static inline int irqs_disabled (void)
|
||||
|
||||
#define xchg(ptr, with) \
|
||||
((__typeof__ (*(ptr)))__xchg ((unsigned long)(with), (ptr), sizeof (*(ptr))))
|
||||
#define tas(ptr) (xchg ((ptr), 1))
|
||||
|
||||
static inline unsigned long __xchg (unsigned long with,
|
||||
__volatile__ void *ptr, int size)
|
||||
|
||||
Reference in New Issue
Block a user