From: Zhi Yong Wu Date: Mon, 18 Mar 2013 09:18:10 +0000 (+0000) Subject: btrfs: Cleanup some redundant codes in btrfs_log_inode() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6841ebee6b02abe178abd30f40806e385cd96777;p=linux-beck.git btrfs: Cleanup some redundant codes in btrfs_log_inode() Signed-off-by: Zhi Yong Wu Signed-off-by: Josef Bacik --- diff --git a/fs/btrfs/tree-log.c b/fs/btrfs/tree-log.c index ef96381569a4..f728eeb3eda5 100644 --- a/fs/btrfs/tree-log.c +++ b/fs/btrfs/tree-log.c @@ -3650,8 +3650,6 @@ static int btrfs_log_inode(struct btrfs_trans_handle *trans, bool fast_search = false; u64 ino = btrfs_ino(inode); - log = root->log_root; - path = btrfs_alloc_path(); if (!path) return -ENOMEM;