mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
Remove unused variable.
Coverity ID: 558 Found by: Coverity Prevent
This commit is contained in:
parent
987b1ad6d5
commit
ce1a23d397
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=155870
@ -98,7 +98,6 @@ fdc_acpi_attach(device_t dev)
|
||||
device_t bus;
|
||||
int error, fde_count, i;
|
||||
ACPI_OBJECT *obj, *pkg;
|
||||
ACPI_HANDLE h;
|
||||
uint32_t fde[ACPI_FDC_MAXDEVS];
|
||||
|
||||
/* Get our softc and use the same accessor as ISA. */
|
||||
@ -107,7 +106,6 @@ fdc_acpi_attach(device_t dev)
|
||||
|
||||
/* Initialize variables and get a temporary buffer for _FDE. */
|
||||
error = ENXIO;
|
||||
h = acpi_get_handle(dev);
|
||||
buf.Length = ACPI_FDC_BUFLEN;
|
||||
buf.Pointer = malloc(buf.Length, M_TEMP, M_NOWAIT | M_ZERO);
|
||||
if (buf.Pointer == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user