Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-8378 all: remove set but unused variables
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_iam_lvar.c
diff --git
a/lustre/osd-ldiskfs/osd_iam_lvar.c
b/lustre/osd-ldiskfs/osd_iam_lvar.c
index
be7ed47
..
abcee4f
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_iam_lvar.c
+++ b/
lustre/osd-ldiskfs/osd_iam_lvar.c
@@
-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;
* insertion point moves into new leaf.
*/
ptrdiff_t shift;
- int result;
shift = PDIFF(leaf->il_at, first_to_move);
*bh = leaf->il_bh;
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));
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.
*/
/*
* init cannot fail, as node was just initialized.
*/