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)
Tue, Apr 30, 1:37 AM
Unknown Object (File)
Tue, Apr 30, 1:32 AM
Unknown Object (File)
Sat, Apr 20, 8:56 PM
Unknown Object (File)
Jan 23 2024, 3:51 PM
Unknown Object (File)
Dec 20 2023, 2:39 AM
Unknown Object (File)
Sep 17 2023, 8:00 AM
Unknown Object (File)
Aug 22 2023, 10:00 AM
Unknown Object (File)
Aug 18 2023, 2:38 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.