From 1a05bcbf311d82afc8c39314be3ae035fe65c911 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 3 May 2010 02:01:08 +0200 Subject: [PATCH] btr: Remove unused btr_exec(). --- buffer_tree.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/buffer_tree.c b/buffer_tree.c index 9884c2e2..1b859f52 100644 --- a/buffer_tree.c +++ b/buffer_tree.c @@ -783,15 +783,6 @@ size_t btr_get_output_queue_size(struct btr_node *btrn) return max_size; } -int btr_exec(struct btr_node *btrn, const char *command, char **value_result) -{ - if (!btrn) - return -ERRNO_TO_PARA_ERROR(EINVAL); - if (!btrn->execute) - return -ERRNO_TO_PARA_ERROR(ENOTSUP); - return btrn->execute(btrn, command, value_result); -} - /** * Execute a inter-node command on a parent node. * -- 2.39.2