Remove a bogus bzero() call.

Found by:	PVS-Studio
This commit is contained in:
Jung-uk Kim 2016-02-18 23:32:11 +00:00
parent 33b5cd539e
commit bfe2514a08

View File

@ -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: