Re: [Qemu-devel] [PATCH 16/28] migration: use global variable directly

2011-02-23 Thread Anthony Liguori
On 02/23/2011 03:47 PM, Juan Quintela wrote: We are setting a pointer to a local variable in the previous line, just use the global variable directly. We remove the ->file test because it is already done inside qemu_file_set_rate_limit() function. I think this is bad form generally speakin

[Qemu-devel] [PATCH 16/28] migration: use global variable directly

2011-02-23 Thread Juan Quintela
We are setting a pointer to a local variable in the previous line, just use the global variable directly. We remove the ->file test because it is already done inside qemu_file_set_rate_limit() function. Signed-off-by: Juan Quintela --- migration.c |6 ++ 1 files changed, 2 insertions(+)