]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/btrfs/tree-log.c
btrfs: Cleanup some redundant codes in btrfs_log_inode()
[karo-tx-linux.git] / fs / btrfs / tree-log.c
index ef96381569a4a1229b95f6b3470f232b3ebe8b0e..f728eeb3eda56b75a90bb75502825726e5364b3b 100644 (file)
@@ -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;