summaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorWu Fengguang <fengguang.wu@intel.com>2009-01-08 03:09:12 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-08 17:31:15 +0100
commitbe857df1dd8d8e1491e60d999caf3b8446ccd475 (patch)
treec3c45d80066bab95bd6f677f05afebf4ba6efe56 /fs/ext3
parentgeneric swap(): introduce global macro swap(a, b) (diff)
downloadlinux-be857df1dd8d8e1491e60d999caf3b8446ccd475.tar.xz
linux-be857df1dd8d8e1491e60d999caf3b8446ccd475.zip
generic swap(): ext3: remove local swap() macro
Use the new generic implementation. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ext3')
-rw-r--r--fs/ext3/namei.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/ext3/namei.c b/fs/ext3/namei.c
index 1dd2abe6313e..8d6f965e502c 100644
--- a/fs/ext3/namei.c
+++ b/fs/ext3/namei.c
@@ -74,10 +74,6 @@ static struct buffer_head *ext3_append(handle_t *handle,
#define assert(test) J_ASSERT(test)
#endif
-#ifndef swap
-#define swap(x, y) do { typeof(x) z = x; x = y; y = z; } while (0)
-#endif
-
#ifdef DX_DEBUG
#define dxtrace(command) command
#else