]> git.tue.mpg.de Git - paraslash.git/commitdiff
btr: Remove unused btr_exec().
authorAndre Noll <maan@systemlinux.org>
Mon, 3 May 2010 00:01:08 +0000 (02:01 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 3 May 2010 00:01:08 +0000 (02:01 +0200)
buffer_tree.c

index 9884c2e2ff1b1fc4661bab71b585bede6d2eba6a..1b859f520ebf4aa16d0a13df897395d97da423d9 100644 (file)
@@ -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.
  *