ACPICA: Miscellaneous lint changes
Unused variables/headers, casting, etc. Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Цей коміт міститься в:
@@ -441,7 +441,7 @@ static void acpi_tb_convert_fadt(void)
|
||||
&acpi_gbl_FADT,
|
||||
fadt_info_table
|
||||
[i].length),
|
||||
address32);
|
||||
(u64) address32);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -469,7 +469,6 @@ static void acpi_tb_convert_fadt(void)
|
||||
static void acpi_tb_validate_fadt(void)
|
||||
{
|
||||
char *name;
|
||||
u32 *address32;
|
||||
struct acpi_generic_address *address64;
|
||||
u8 length;
|
||||
u32 i;
|
||||
@@ -505,15 +504,12 @@ static void acpi_tb_validate_fadt(void)
|
||||
|
||||
for (i = 0; i < ACPI_FADT_INFO_ENTRIES; i++) {
|
||||
/*
|
||||
* Generate pointers to the 32-bit and 64-bit addresses, get the
|
||||
* register length (width), and the register name
|
||||
* Generate pointer to the 64-bit address, get the register
|
||||
* length (width) and the register name
|
||||
*/
|
||||
address64 = ACPI_ADD_PTR(struct acpi_generic_address,
|
||||
&acpi_gbl_FADT,
|
||||
fadt_info_table[i].address64);
|
||||
address32 =
|
||||
ACPI_ADD_PTR(u32, &acpi_gbl_FADT,
|
||||
fadt_info_table[i].address32);
|
||||
length =
|
||||
*ACPI_ADD_PTR(u8, &acpi_gbl_FADT,
|
||||
fadt_info_table[i].length);
|
||||
|
Посилання в новій задачі
Заблокувати користувача