Skip to content

Commit

Permalink
Tools: hv: Get rid of some unused variables
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Sep 4, 2012
1 parent 1f94ea8 commit 00b8335
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/hv/hv_kvp_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 00b8335

Please sign in to comment.