[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] hvmloader: Don't set hpet->header.length twice
It is redundant. Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> diff -r 4b0907c6a08c -r a112f0afefc7 tools/firmware/hvmloader/acpi/build.c --- a/tools/firmware/hvmloader/acpi/build.c Tue Oct 11 12:02:58 2011 +0100 +++ b/tools/firmware/hvmloader/acpi/build.c Fri Oct 14 16:14:26 2011 +0100 @@ -186,8 +186,7 @@ static struct acpi_20_hpet *construct_hp hpet->addr.address = ACPI_HPET_ADDRESS; hpet->header.length = sizeof(*hpet); - set_checksum(hpet, offsetof(struct acpi_header, checksum), - hpet->header.length = sizeof(*hpet)); + set_checksum(hpet, offsetof(struct acpi_header, checksum), sizeof(*hpet)); return hpet; } _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |