From 5dc12ddee93d63d7107cbbf70db23476d7b30e43 Mon Sep 17 00:00:00 2001 From: Jeff Dike Date: Tue, 8 May 2007 00:34:59 -0700 Subject: Remove tas() tas() has no users, so get rid of it. Signed-off-by: Jeff Dike Cc: Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-alpha/system.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/asm-alpha') diff --git a/include/asm-alpha/system.h b/include/asm-alpha/system.h index 42959c356456..cf1021a97b2e 100644 --- a/include/asm-alpha/system.h +++ b/include/asm-alpha/system.h @@ -548,9 +548,6 @@ __xchg_u64_local(volatile long *m, unsigned long val) sizeof(*(ptr))); \ }) -#define tas(ptr) (xchg((ptr),1)) - - /* * Atomic compare and exchange. Compare OLD with MEM, if identical, * store NEW in MEM. Return the initial value in MEM. Success is -- cgit v1.2.2