Whamcloud - gitweb
LU-8378 all: remove set but unused variables
[fs/lustre-release.git] / lustre / osd-ldiskfs / osd_iam_lvar.c
index be7ed47..abcee4f 100644 (file)
@@ -725,7 +725,6 @@ static void lvar_split(struct iam_leaf *leaf, struct buffer_head **bh,
                  * insertion point moves into new leaf.
                  */
                 ptrdiff_t shift;
-                int result;
 
                 shift = PDIFF(leaf->il_at, first_to_move);
                 *bh = leaf->il_bh;
@@ -733,7 +732,7 @@ static void lvar_split(struct iam_leaf *leaf, struct buffer_head **bh,
                 leaf->il_curidx = new_blknr;
 
                 assert_corr(iam_leaf_is_locked(leaf));
-                result = lvar_init(leaf);
+                lvar_init(leaf);
                 /*
                  * init cannot fail, as node was just initialized.
                  */