HomeFreeBSD

Remove store-only variable and unnecessary bzero()

Description

Remove store-only variable and unnecessary bzero()

  • Remove the variable set but not used to fix build on -CURRENT
  • Remove bzero() on the space malloc'd with M_ZERO flag.

Signed-off-by: En-Wei Wu <enweiwu@FreeBSD.org>

Sponsored by: Google, Inc. (GSoC 2022)
Differential Revision: https://reviews.freebsd.org/D35624

Details

Provenance
En-Wei Wu <enweiwu@FreeBSD.org>Authored on Jun 28 2022, 5:22 PM
lwhsuCommitted on Jun 29 2022, 12:02 PM
Differential Revision
D35624: wtap: remove unused variable and bzero
Parents
rGbc49526a561c: stress2: Fix broken random number generation
Branches
Unknown
Tags
Unknown