Remove a bogus bzero() call.
Found by: PVS-Studio
This commit is contained in:
parent
33b5cd539e
commit
bfe2514a08
@ -80,7 +80,6 @@ acpi_PkgStr(ACPI_OBJECT *res, int idx, void *dst, size_t size)
|
||||
obj = &res->Package.Elements[idx];
|
||||
if (obj == NULL)
|
||||
return (EINVAL);
|
||||
bzero(dst, sizeof(dst));
|
||||
|
||||
switch (obj->Type) {
|
||||
case ACPI_TYPE_STRING:
|
||||
|
Loading…
x
Reference in New Issue
Block a user