We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e9fd5a commit b25bab1Copy full SHA for b25bab1
fs/reiserfs/do_balan.c
@@ -626,7 +626,6 @@ static void balance_leaf_insert_right(struct tree_balance *tb,
626
struct buffer_head *tbS0 = PATH_PLAST_BUFFER(tb->tb_path);
627
int n = B_NR_ITEMS(tbS0);
628
struct buffer_info bi;
629
- int ret;
630
631
/* new item or part of it doesn't fall into R[0] */
632
if (n - tb->rnum[0] >= tb->item_pos) {
@@ -690,7 +689,7 @@ static void balance_leaf_insert_right(struct tree_balance *tb,
690
689
/* whole new item falls into R[0] */
691
692
/* Shift rnum[0]-1 items to R[0] */
693
- ret = leaf_shift_right(tb, tb->rnum[0] - 1, tb->rbytes);
+ leaf_shift_right(tb, tb->rnum[0] - 1, tb->rbytes);
694
695
/* Insert new item into R[0] */
696
buffer_info_init_right(tb, &bi);
0 commit comments