Page MenuHomeFreeBSD

hyperv/hn: Remove unnecessary zeroing out the netvsc_packet
ClosedPublic

Authored by sepherosa_gmail.com on Jan 18 2016, 9:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 5 2025, 6:17 PM
Unknown Object (File)
Aug 30 2025, 5:35 PM
Unknown Object (File)
Aug 25 2025, 8:26 PM
Unknown Object (File)
Jul 27 2025, 1:06 AM
Unknown Object (File)
Jul 11 2025, 9:01 PM
Unknown Object (File)
Jul 2 2025, 2:34 AM
Unknown Object (File)
Jun 24 2025, 8:05 AM
Unknown Object (File)
Jun 22 2025, 1:31 PM
Subscribers

Details

Summary

All used fields are setup on by one, so there is no need to zero
out this large struct.

While I'm here, move the stack variable near its usage.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/hn: Remove unnecessary zeroing out the netvsc_packet.
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)

If no objection comes, it will be committed two days later

This revision is now accepted and ready to land.Jan 18 2016, 2:08 PM
delphij edited edge metadata.

Looks good to me.

adrian edited edge metadata.
This revision was automatically updated to reflect the committed changes.