summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM S Vishwanath Bhat <vishwanath@gluster.com>2012-01-31 01:32:50 +0530
committerVijay Bellur <vijay@gluster.com>2012-02-02 19:39:00 -0800
commit3c0c468640ccd020a585c9f19366f857ee78d013 (patch)
tree9ab96440187d7f0bcbe240c36e64b7649701b5fa
parent698c0750e5b93fb9aa842a1d70def9ecfa6da41c (diff)
removing the dead code in cli-rpc-ops.c
Change-Id: Ie80b7938944a5984e4d9cd0a5f52b7976030ea73 BUG: 783972 Signed-off-by: M S Vishwanath Bhat <vishwanath@gluster.com> Reviewed-on: http://review.gluster.com/2701 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
-rw-r--r--cli/src/cli-rpc-ops.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index 6a212919c32..3fb73946be6 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -3150,11 +3150,6 @@ out:
return ret;
}
-void*
-cli_profile_info_elem (void *a, int index)
-{
- return ((cli_profile_info_t *)a) + index;
-}
int
cli_profile_info_percentage_cmp (void *a, void *b)
@@ -3174,19 +3169,6 @@ cli_profile_info_percentage_cmp (void *a, void *b)
return ret;
}
-void
-cli_profile_info_swap (void *a, void *b)
-{
- cli_profile_info_t *ia = NULL;
- cli_profile_info_t *ib = NULL;
- cli_profile_info_t tmp = {0};
-
- ia = a;
- ib = b;
- tmp = *ia;
- *ia = *ib;
- *ib = tmp;
-}
void
cmd_profile_volume_brick_out (dict_t *dict, int count, int interval)