[PATCH v2 2/2] Btrfs: Kill u64_to_ptr() and ptr_to_u64() macros

From: Takashi Iwai
Date: Wed Jul 30 2014 - 12:38:43 EST


These macros are no longer used after replacements of aux data type.
Let's kill them.

Signed-off-by: Takashi Iwai <tiwai@xxxxxxx>
---
fs/btrfs/qgroup.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index b499f580d005..dc2665cb3f1b 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -99,9 +99,6 @@ struct btrfs_qgroup_list {
struct btrfs_qgroup *member;
};

-#define ptr_to_u64(x) ((u64)(uintptr_t)x)
-#define u64_to_ptr(x) ((struct btrfs_qgroup *)(uintptr_t)x)
-
static int
qgroup_rescan_init(struct btrfs_fs_info *fs_info, u64 progress_objectid,
int init_flags);
--
2.0.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/