From 00b8335517b50b716960377b63a9ae63ed72322c Mon Sep 17 00:00:00 2001 From: "K. Y. Srinivasan" Date: Tue, 4 Sep 2012 14:46:33 -0700 Subject: Tools: hv: Get rid of some unused variables Get rid of unused variables. Reported-by: Ben Hutchings Signed-off-by: K. Y. Srinivasan Reviewed-by: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- tools/hv/hv_kvp_daemon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c index 65d54c89394..d12d71448f0 100644 --- a/tools/hv/hv_kvp_daemon.c +++ b/tools/hv/hv_kvp_daemon.c @@ -196,7 +196,7 @@ static void kvp_update_mem_state(int pool) } static int kvp_file_init(void) { - int ret, fd; + int fd; FILE *filep; size_t records_read; __u8 *fname; @@ -312,7 +312,6 @@ static int kvp_key_add_or_modify(int pool, __u8 *key, int key_size, __u8 *value, int value_size) { int i; - int j, k; int num_records; struct kvp_record *record; int num_blocks; -- cgit v1.2.3-18-g5258