btrfs-progs: tests: Remove misleading BCP 78 boilerplate from SHA implementation
[platform/upstream/btrfs-progs.git] / inode.c
diff --git a/inode.c b/inode.c
index 991b8dd..6b8bf40 100644 (file)
--- a/inode.c
+++ b/inode.c
@@ -286,7 +286,7 @@ int btrfs_unlink(struct btrfs_trans_handle *trans, struct btrfs_root *root,
 
        /* check the ref and backref exists */
        inode_ref = btrfs_lookup_inode_ref(trans, root, path, name, namelen,
-                                          ino, parent_ino, index, 0);
+                                          ino, parent_ino, 0);
        if (IS_ERR(inode_ref)) {
                ret = PTR_ERR(inode_ref);
                goto out;