1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295777

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: