提交 00b83355 编写于 作者: K K. Y. Srinivasan 提交者: Greg Kroah-Hartman

Tools: hv: Get rid of some unused variables

Get rid of unused variables.
Reported-by: NBen Hutchings <ben@decadent.org.uk>
Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: NHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1f94ea81
...@@ -196,7 +196,7 @@ static void kvp_update_mem_state(int pool) ...@@ -196,7 +196,7 @@ static void kvp_update_mem_state(int pool)
} }
static int kvp_file_init(void) static int kvp_file_init(void)
{ {
int ret, fd; int fd;
FILE *filep; FILE *filep;
size_t records_read; size_t records_read;
__u8 *fname; __u8 *fname;
...@@ -312,7 +312,6 @@ static int kvp_key_add_or_modify(int pool, __u8 *key, int key_size, __u8 *value, ...@@ -312,7 +312,6 @@ static int kvp_key_add_or_modify(int pool, __u8 *key, int key_size, __u8 *value,
int value_size) int value_size)
{ {
int i; int i;
int j, k;
int num_records; int num_records;
struct kvp_record *record; struct kvp_record *record;
int num_blocks; int num_blocks;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册