Page MenuHomeFreeBSD

lagg: Remove the member pr_num from struct lagg_proto
ClosedPublic

Authored by zlei on Thu, Feb 5, 5:22 AM.
Tags
None
Referenced Files
F146444329: D55124.diff
Mon, Mar 2, 6:07 PM
Unknown Object (File)
Tue, Feb 24, 3:01 PM
Unknown Object (File)
Sun, Feb 22, 4:26 AM
Unknown Object (File)
Mon, Feb 16, 7:29 PM
Unknown Object (File)
Sun, Feb 15, 2:22 PM
Unknown Object (File)
Sat, Feb 14, 9:07 AM
Unknown Object (File)
Fri, Feb 13, 8:33 AM
Unknown Object (File)
Thu, Feb 12, 10:58 PM
Subscribers

Details

Summary

It is set but never used. Remove it to avoid confusing and save a little
spaces.

While here, use designated initializers to initialize the lagg protocol
table. That improves readability, and will be safer to initialize the
protocol table if we will introduce new protocols in future.

No functional change intended.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable