From: Andre Noll Date: Mon, 3 May 2010 00:01:08 +0000 (+0200) Subject: btr: Remove unused btr_exec(). X-Git-Tag: v0.4.3~33 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=1a05bcbf311d82afc8c39314be3ae035fe65c911;p=paraslash.git btr: Remove unused btr_exec(). --- 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. *