summaryrefslogtreecommitdiff
path: root/ctree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-07 11:50:24 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-07 11:50:24 -0500
commit4c4eac1f03a507f9c2473f6de528f28ce81c199c (patch)
tree827e2b8b253dbbc03d80c6e010926cebab8e4a3f /ctree.c
parent79b90e3fdf5c711972b8fe00121f8d48f310b30d (diff)
get rid of add recursion
Diffstat (limited to 'ctree.c')
-rw-r--r--ctree.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ctree.c b/ctree.c
index 72816381..729d4ddb 100644
--- a/ctree.c
+++ b/ctree.c
@@ -995,15 +995,6 @@ static int split_leaf(struct ctree_root *root, struct ctree_path *path,
int ret;
int wret;
- wret = push_leaf_left(root, path, data_size);
- if (wret < 0)
- return wret;
- if (wret) {
- wret = push_leaf_right(root, path, data_size);
- if (wret < 0)
- return wret;
- }
-
l_buf = path->nodes[0];
l = &l_buf->leaf;