From: Wu Fengguang Date: Thu, 8 Jan 2009 02:09:12 +0000 (-0800) Subject: generic swap(): ext3: remove local swap() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=be857df1dd8d8e1491e60d999caf3b8446ccd475;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git generic swap(): ext3: remove local swap() macro Use the new generic implementation. Signed-off-by: Wu Fengguang Cc: Theodore Ts'o Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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