sb/amd/amd8111/acpi.c: Remove set but unused variable `dword`
commit69813febbc91571f9126f980b97fd7b37a45f125
authorPaul Menzel <paulepanter@users.sourceforge.net>
Sat, 1 Mar 2014 11:49:57 +0000 (1 12:49 +0100)
committerPatrick Georgi <patrick@georgi-clan.de>
Wed, 9 Apr 2014 11:31:31 +0000 (9 13:31 +0200)
tree3f47de983be7efabf909c45097a7e590b763203f
parentdbc7bd9dce2d188dd48de7acd5754507ff0c87e5
sb/amd/amd8111/acpi.c: Remove set but unused variable `dword`

Removing `-Wno-unused-but-set-variable` from `CFLAGS` results in the error
below, when building for example the HP DL145 GL1.

    CC         southbridge/amd/amd8111/acpi.ramstage.o
src/southbridge/amd/amd8111/acpi.c: In function 'acpi_init':
src/southbridge/amd/amd8111/acpi.c:100:11: error: variable 'dword' set but not used [-Werror=unused-but-set-variable]

Removing the variable `dword` fixes this error.

The read is left in the code, as I do not know if it has an effect or
not.

Change-Id: I9957cef3a996c5974c275423c9de63ccf230974e
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/5315
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
src/southbridge/amd/amd8111/acpi.c