virtex: Add braces

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
Edgar E. Iglesias 2010-10-02 13:04:49 +02:00
parent 2c50e26efd
commit 3b2e3dc939

View File

@ -157,8 +157,9 @@ static int xilinx_load_device_tree(target_phys_addr_t addr,
fdt = load_device_tree(path, &fdt_size); fdt = load_device_tree(path, &fdt_size);
qemu_free(path); qemu_free(path);
} }
if (!fdt) if (!fdt) {
return 0; return 0;
}
} }
r = qemu_devtree_setprop_string(fdt, "/chosen", "bootargs", kernel_cmdline); r = qemu_devtree_setprop_string(fdt, "/chosen", "bootargs", kernel_cmdline);