diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2012-09-04 17:46:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 18:55:35 -0400 |
commit | 00b8335517b50b716960377b63a9ae63ed72322c (patch) | |
tree | 78a802e3884f3863363b18ddc9046b938be661c5 /tools/hv | |
parent | 1f94ea8181a9305a5d5cf635a6a4e9ac8ee3d2c3 (diff) |
Tools: hv: Get rid of some unused variables
Get rid of unused variables.
Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv')
-rw-r--r-- | tools/hv/hv_kvp_daemon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c index 65d54c89394e..d12d71448f0c 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) | |||
196 | } | 196 | } |
197 | static int kvp_file_init(void) | 197 | static int kvp_file_init(void) |
198 | { | 198 | { |
199 | int ret, fd; | 199 | int fd; |
200 | FILE *filep; | 200 | FILE *filep; |
201 | size_t records_read; | 201 | size_t records_read; |
202 | __u8 *fname; | 202 | __u8 *fname; |
@@ -312,7 +312,6 @@ static int kvp_key_add_or_modify(int pool, __u8 *key, int key_size, __u8 *value, | |||
312 | int value_size) | 312 | int value_size) |
313 | { | 313 | { |
314 | int i; | 314 | int i; |
315 | int j, k; | ||
316 | int num_records; | 315 | int num_records; |
317 | struct kvp_record *record; | 316 | struct kvp_record *record; |
318 | int num_blocks; | 317 | int num_blocks; |