bzero is not necessary because the flag M_ZERO is ORed and passed into malloc().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Probably the commit message can be more precise. For example:
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.
@rickywu0421_gmail.com: is this message correct?